Rename last references of NXT to Dawn

This commit is contained in:
Corentin Wallez
2018-07-18 15:32:04 +02:00
committed by Corentin Wallez
parent 9fc65344f4
commit 6ed9cbf894
10 changed files with 12 additions and 12 deletions

View File

@@ -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;

View File

@@ -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 {

View File

@@ -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;

View File

@@ -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);