mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-16 08:27:05 +00:00
Rename last references of NXT to Dawn
This commit is contained in:
committed by
Corentin Wallez
parent
9fc65344f4
commit
6ed9cbf894
@@ -78,7 +78,7 @@ namespace {
|
||||
glfwDefaultWindowHints();
|
||||
binding->SetupGLFWWindowHints();
|
||||
|
||||
std::string windowName = "NXT " + ParamName(type) + " test window";
|
||||
std::string windowName = "Dawn " + ParamName(type) + " test window";
|
||||
*window = glfwCreateWindow(400, 400, windowName.c_str(), nullptr, nullptr);
|
||||
|
||||
return *window;
|
||||
|
||||
@@ -246,7 +246,7 @@ TEST(ErrorTests, TRY_RESULT_ConversionToError) {
|
||||
delete errorData;
|
||||
}
|
||||
|
||||
// Check a MaybeError can be NXT_TRIED in a function that returns an ResultOrError
|
||||
// Check a MaybeError can be DAWN_TRIED in a function that returns an ResultOrError
|
||||
// Check DAWN_TRY handles errors correctly.
|
||||
TEST(ErrorTests, TRY_ConversionToErrorOrResult) {
|
||||
auto ReturnError = []() -> MaybeError {
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
#include "utils/DawnHelpers.h"
|
||||
|
||||
// Maximums for NXT, tests will start failing when this changes
|
||||
// Maximums for Dawn, tests will start failing when this changes
|
||||
static constexpr uint32_t kMaxVertexAttributes = 16u;
|
||||
static constexpr uint32_t kMaxVertexInputs = 16u;
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@ ValidationTest::ValidationTest() {
|
||||
}
|
||||
|
||||
ValidationTest::~ValidationTest() {
|
||||
// We need to destroy Dawn objects before setting the procs to null otherwise the nxt*Release
|
||||
// We need to destroy Dawn objects before setting the procs to null otherwise the dawn*Release
|
||||
// will call a nullptr
|
||||
device = dawn::Device();
|
||||
dawnSetProcs(nullptr);
|
||||
|
||||
Reference in New Issue
Block a user