mirror of
https://github.com/encounter/dawn-cmake.git
synced 2025-05-14 03:11:29 +00:00
Rename NXTHelpers to DawnHelpers
This commit is contained in:
parent
d148aebf3f
commit
f684040e0a
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
#include "SampleUtils.h"
|
#include "SampleUtils.h"
|
||||||
|
|
||||||
#include "utils/NXTHelpers.h"
|
#include "utils/DawnHelpers.h"
|
||||||
#include "utils/SystemUtils.h"
|
#include "utils/SystemUtils.h"
|
||||||
|
|
||||||
#include <cstdlib>
|
#include <cstdlib>
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
#include "SampleUtils.h"
|
#include "SampleUtils.h"
|
||||||
|
|
||||||
#include "utils/NXTHelpers.h"
|
#include "utils/DawnHelpers.h"
|
||||||
#include "utils/SystemUtils.h"
|
#include "utils/SystemUtils.h"
|
||||||
|
|
||||||
nxtDevice device;
|
nxtDevice device;
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
#include "SampleUtils.h"
|
#include "SampleUtils.h"
|
||||||
|
|
||||||
#include "utils/NXTHelpers.h"
|
#include "utils/DawnHelpers.h"
|
||||||
#include "utils/SystemUtils.h"
|
#include "utils/SystemUtils.h"
|
||||||
|
|
||||||
#include <array>
|
#include <array>
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
#include "SampleUtils.h"
|
#include "SampleUtils.h"
|
||||||
|
|
||||||
#include "utils/NXTHelpers.h"
|
#include "utils/DawnHelpers.h"
|
||||||
#include "utils/SystemUtils.h"
|
#include "utils/SystemUtils.h"
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
#include "SampleUtils.h"
|
#include "SampleUtils.h"
|
||||||
|
|
||||||
#include "utils/NXTHelpers.h"
|
#include "utils/DawnHelpers.h"
|
||||||
#include "utils/SystemUtils.h"
|
#include "utils/SystemUtils.h"
|
||||||
|
|
||||||
#include <vector>
|
#include <vector>
|
||||||
|
@ -22,7 +22,7 @@
|
|||||||
|
|
||||||
#include "common/Math.h"
|
#include "common/Math.h"
|
||||||
#include "common/Constants.h"
|
#include "common/Constants.h"
|
||||||
#include "utils/NXTHelpers.h"
|
#include "utils/DawnHelpers.h"
|
||||||
#include "utils/SystemUtils.h"
|
#include "utils/SystemUtils.h"
|
||||||
|
|
||||||
#include <bitset>
|
#include <bitset>
|
||||||
|
@ -18,7 +18,7 @@
|
|||||||
#include "common/Constants.h"
|
#include "common/Constants.h"
|
||||||
#include "common/Math.h"
|
#include "common/Math.h"
|
||||||
#include "utils/BackendBinding.h"
|
#include "utils/BackendBinding.h"
|
||||||
#include "utils/NXTHelpers.h"
|
#include "utils/DawnHelpers.h"
|
||||||
#include "utils/SystemUtils.h"
|
#include "utils/SystemUtils.h"
|
||||||
#include "wire/TerribleCommandBuffer.h"
|
#include "wire/TerribleCommandBuffer.h"
|
||||||
#include "wire/Wire.h"
|
#include "wire/Wire.h"
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
#include "tests/NXTTest.h"
|
#include "tests/NXTTest.h"
|
||||||
|
|
||||||
#include "utils/NXTHelpers.h"
|
#include "utils/DawnHelpers.h"
|
||||||
|
|
||||||
class BasicTests : public NXTTest {
|
class BasicTests : public NXTTest {
|
||||||
};
|
};
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
#include "common/Assert.h"
|
#include "common/Assert.h"
|
||||||
#include "common/Constants.h"
|
#include "common/Constants.h"
|
||||||
#include "utils/NXTHelpers.h"
|
#include "utils/DawnHelpers.h"
|
||||||
|
|
||||||
constexpr static unsigned int kRTSize = 64;
|
constexpr static unsigned int kRTSize = 64;
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
#include "tests/NXTTest.h"
|
#include "tests/NXTTest.h"
|
||||||
|
|
||||||
#include "utils/NXTHelpers.h"
|
#include "utils/DawnHelpers.h"
|
||||||
|
|
||||||
#include <array>
|
#include <array>
|
||||||
|
|
||||||
|
@ -17,7 +17,7 @@
|
|||||||
#include <array>
|
#include <array>
|
||||||
#include "common/Constants.h"
|
#include "common/Constants.h"
|
||||||
#include "common/Math.h"
|
#include "common/Math.h"
|
||||||
#include "utils/NXTHelpers.h"
|
#include "utils/DawnHelpers.h"
|
||||||
|
|
||||||
class CopyTests : public NXTTest {
|
class CopyTests : public NXTTest {
|
||||||
protected:
|
protected:
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
#include "tests/NXTTest.h"
|
#include "tests/NXTTest.h"
|
||||||
|
|
||||||
#include "common/Assert.h"
|
#include "common/Assert.h"
|
||||||
#include "utils/NXTHelpers.h"
|
#include "utils/DawnHelpers.h"
|
||||||
|
|
||||||
constexpr static unsigned int kRTSize = 64;
|
constexpr static unsigned int kRTSize = 64;
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
#include "tests/NXTTest.h"
|
#include "tests/NXTTest.h"
|
||||||
|
|
||||||
#include "utils/NXTHelpers.h"
|
#include "utils/DawnHelpers.h"
|
||||||
|
|
||||||
constexpr uint32_t kRTSize = 4;
|
constexpr uint32_t kRTSize = 4;
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
#include "tests/NXTTest.h"
|
#include "tests/NXTTest.h"
|
||||||
|
|
||||||
#include "common/Assert.h"
|
#include "common/Assert.h"
|
||||||
#include "utils/NXTHelpers.h"
|
#include "utils/DawnHelpers.h"
|
||||||
|
|
||||||
constexpr uint32_t kRTSize = 400;
|
constexpr uint32_t kRTSize = 400;
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
#include "tests/NXTTest.h"
|
#include "tests/NXTTest.h"
|
||||||
|
|
||||||
#include "common/Assert.h"
|
#include "common/Assert.h"
|
||||||
#include "utils/NXTHelpers.h"
|
#include "utils/DawnHelpers.h"
|
||||||
|
|
||||||
using dawn::InputStepMode;
|
using dawn::InputStepMode;
|
||||||
using dawn::VertexFormat;
|
using dawn::VertexFormat;
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
#include "tests/NXTTest.h"
|
#include "tests/NXTTest.h"
|
||||||
|
|
||||||
#include "common/Assert.h"
|
#include "common/Assert.h"
|
||||||
#include "utils/NXTHelpers.h"
|
#include "utils/DawnHelpers.h"
|
||||||
|
|
||||||
// Primitive topology tests work by drawing the following vertices with all the different primitive topology states:
|
// Primitive topology tests work by drawing the following vertices with all the different primitive topology states:
|
||||||
// -------------------------------------
|
// -------------------------------------
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
#include "common/Assert.h"
|
#include "common/Assert.h"
|
||||||
#include "common/Constants.h"
|
#include "common/Constants.h"
|
||||||
#include "utils/NXTHelpers.h"
|
#include "utils/DawnHelpers.h"
|
||||||
|
|
||||||
#include <array>
|
#include <array>
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
#include "tests/NXTTest.h"
|
#include "tests/NXTTest.h"
|
||||||
|
|
||||||
#include "utils/NXTHelpers.h"
|
#include "utils/DawnHelpers.h"
|
||||||
|
|
||||||
#include <array>
|
#include <array>
|
||||||
|
|
||||||
|
@ -19,7 +19,7 @@
|
|||||||
|
|
||||||
#include "common/Assert.h"
|
#include "common/Assert.h"
|
||||||
#include "common/Constants.h"
|
#include "common/Constants.h"
|
||||||
#include "utils/NXTHelpers.h"
|
#include "utils/DawnHelpers.h"
|
||||||
|
|
||||||
constexpr static unsigned int kRTSize = 64;
|
constexpr static unsigned int kRTSize = 64;
|
||||||
|
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
#include "tests/NXTTest.h"
|
#include "tests/NXTTest.h"
|
||||||
|
|
||||||
#include "utils/NXTHelpers.h"
|
#include "utils/DawnHelpers.h"
|
||||||
|
|
||||||
class ScissorTest: public NXTTest {
|
class ScissorTest: public NXTTest {
|
||||||
protected:
|
protected:
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
#include "tests/NXTTest.h"
|
#include "tests/NXTTest.h"
|
||||||
|
|
||||||
#include "utils/NXTHelpers.h"
|
#include "utils/DawnHelpers.h"
|
||||||
|
|
||||||
class ViewportOrientationTests : public NXTTest {};
|
class ViewportOrientationTests : public NXTTest {};
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#include "tests/unittests/validation/ValidationTest.h"
|
#include "tests/unittests/validation/ValidationTest.h"
|
||||||
#include "utils/NXTHelpers.h"
|
#include "utils/DawnHelpers.h"
|
||||||
|
|
||||||
class BindGroupValidationTest : public ValidationTest {
|
class BindGroupValidationTest : public ValidationTest {
|
||||||
};
|
};
|
||||||
|
@ -14,7 +14,7 @@
|
|||||||
|
|
||||||
#include "tests/unittests/validation/ValidationTest.h"
|
#include "tests/unittests/validation/ValidationTest.h"
|
||||||
|
|
||||||
#include "utils/NXTHelpers.h"
|
#include "utils/DawnHelpers.h"
|
||||||
|
|
||||||
// Maximums for NXT, tests will start failing when this changes
|
// Maximums for NXT, tests will start failing when this changes
|
||||||
static constexpr uint32_t kMaxVertexAttributes = 16u;
|
static constexpr uint32_t kMaxVertexAttributes = 16u;
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
#include "tests/unittests/validation/ValidationTest.h"
|
#include "tests/unittests/validation/ValidationTest.h"
|
||||||
|
|
||||||
#include "common/Constants.h"
|
#include "common/Constants.h"
|
||||||
#include "utils/NXTHelpers.h"
|
#include "utils/DawnHelpers.h"
|
||||||
|
|
||||||
#include <gmock/gmock.h>
|
#include <gmock/gmock.h>
|
||||||
|
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
#include "tests/unittests/validation/ValidationTest.h"
|
#include "tests/unittests/validation/ValidationTest.h"
|
||||||
|
|
||||||
#include "common/Constants.h"
|
#include "common/Constants.h"
|
||||||
#include "utils/NXTHelpers.h"
|
#include "utils/DawnHelpers.h"
|
||||||
|
|
||||||
class RenderPipelineValidationTest : public ValidationTest {
|
class RenderPipelineValidationTest : public ValidationTest {
|
||||||
protected:
|
protected:
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
#include "tests/unittests/validation/ValidationTest.h"
|
#include "tests/unittests/validation/ValidationTest.h"
|
||||||
|
|
||||||
#include "utils/NXTHelpers.h"
|
#include "utils/DawnHelpers.h"
|
||||||
|
|
||||||
class VertexBufferValidationTest : public ValidationTest {
|
class VertexBufferValidationTest : public ValidationTest {
|
||||||
protected:
|
protected:
|
||||||
|
@ -17,8 +17,8 @@ set(UTILS_DIR ${CMAKE_CURRENT_SOURCE_DIR})
|
|||||||
list(APPEND UTILS_SOURCES
|
list(APPEND UTILS_SOURCES
|
||||||
${UTILS_DIR}/BackendBinding.cpp
|
${UTILS_DIR}/BackendBinding.cpp
|
||||||
${UTILS_DIR}/BackendBinding.h
|
${UTILS_DIR}/BackendBinding.h
|
||||||
${UTILS_DIR}/NXTHelpers.cpp
|
${UTILS_DIR}/DawnHelpers.cpp
|
||||||
${UTILS_DIR}/NXTHelpers.h
|
${UTILS_DIR}/DawnHelpers.h
|
||||||
${UTILS_DIR}/SystemUtils.cpp
|
${UTILS_DIR}/SystemUtils.cpp
|
||||||
${UTILS_DIR}/SystemUtils.h
|
${UTILS_DIR}/SystemUtils.h
|
||||||
)
|
)
|
||||||
|
@ -12,7 +12,7 @@
|
|||||||
// See the License for the specific language governing permissions and
|
// See the License for the specific language governing permissions and
|
||||||
// limitations under the License.
|
// limitations under the License.
|
||||||
|
|
||||||
#include "utils/NXTHelpers.h"
|
#include "utils/DawnHelpers.h"
|
||||||
|
|
||||||
#include "common/Assert.h"
|
#include "common/Assert.h"
|
||||||
|
|
Loading…
x
Reference in New Issue
Block a user