mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-12-16 08:27:05 +00:00
Rename NXT -> Dawn in the comments
This commit is contained in:
committed by
Corentin Wallez
parent
923574eed5
commit
9fc65344f4
@@ -17,7 +17,7 @@
|
||||
#include <gtest/gtest.h>
|
||||
#include <memory>
|
||||
|
||||
// Getting data back from NXT is done in an async manners so all expectations are "deferred"
|
||||
// Getting data back from Dawn is done in an async manners so all expectations are "deferred"
|
||||
// until the end of the test. Also expectations use a copy to a MapRead buffer to get the data
|
||||
// so resources should have the TransferSrc allowed usage bit if you want to add expectations on
|
||||
// them.
|
||||
|
||||
@@ -149,7 +149,7 @@ protected:
|
||||
EXPECT_PIXEL_RGBA8_EQ(expectedU3, mRenderPass.color, 3, 0);
|
||||
EXPECT_PIXEL_RGBA8_EQ(expectedV2, mRenderPass.color, 0, 2);
|
||||
EXPECT_PIXEL_RGBA8_EQ(expectedV3, mRenderPass.color, 0, 3);
|
||||
// TODO: add tests for W address mode, once NXT supports 3D textures
|
||||
// TODO: add tests for W address mode, once Dawn supports 3D textures
|
||||
}
|
||||
|
||||
utils::BasicRenderPass mRenderPass;
|
||||
|
||||
@@ -34,7 +34,7 @@ ValidationTest::ValidationTest() {
|
||||
}
|
||||
|
||||
ValidationTest::~ValidationTest() {
|
||||
// We need to destroy NXT 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 nxt*Release
|
||||
// will call a nullptr
|
||||
device = dawn::Device();
|
||||
dawnSetProcs(nullptr);
|
||||
|
||||
Reference in New Issue
Block a user