Rename NXTHelpers to DawnHelpers

This commit is contained in:
Corentin Wallez 2018-07-18 14:00:56 +02:00 committed by Corentin Wallez
parent d148aebf3f
commit f684040e0a
29 changed files with 29 additions and 29 deletions

View File

@ -14,7 +14,7 @@
#include "SampleUtils.h"
#include "utils/NXTHelpers.h"
#include "utils/DawnHelpers.h"
#include "utils/SystemUtils.h"
#include <cstdlib>

View File

@ -14,7 +14,7 @@
#include "SampleUtils.h"
#include "utils/NXTHelpers.h"
#include "utils/DawnHelpers.h"
#include "utils/SystemUtils.h"
nxtDevice device;

View File

@ -14,7 +14,7 @@
#include "SampleUtils.h"
#include "utils/NXTHelpers.h"
#include "utils/DawnHelpers.h"
#include "utils/SystemUtils.h"
#include <array>

View File

@ -14,7 +14,7 @@
#include "SampleUtils.h"
#include "utils/NXTHelpers.h"
#include "utils/DawnHelpers.h"
#include "utils/SystemUtils.h"
#include <vector>

View File

@ -14,7 +14,7 @@
#include "SampleUtils.h"
#include "utils/NXTHelpers.h"
#include "utils/DawnHelpers.h"
#include "utils/SystemUtils.h"
#include <vector>

View File

@ -22,7 +22,7 @@
#include "common/Math.h"
#include "common/Constants.h"
#include "utils/NXTHelpers.h"
#include "utils/DawnHelpers.h"
#include "utils/SystemUtils.h"
#include <bitset>

View File

@ -18,7 +18,7 @@
#include "common/Constants.h"
#include "common/Math.h"
#include "utils/BackendBinding.h"
#include "utils/NXTHelpers.h"
#include "utils/DawnHelpers.h"
#include "utils/SystemUtils.h"
#include "wire/TerribleCommandBuffer.h"
#include "wire/Wire.h"

View File

@ -14,7 +14,7 @@
#include "tests/NXTTest.h"
#include "utils/NXTHelpers.h"
#include "utils/DawnHelpers.h"
class BasicTests : public NXTTest {
};

View File

@ -19,7 +19,7 @@
#include "common/Assert.h"
#include "common/Constants.h"
#include "utils/NXTHelpers.h"
#include "utils/DawnHelpers.h"
constexpr static unsigned int kRTSize = 64;

View File

@ -14,7 +14,7 @@
#include "tests/NXTTest.h"
#include "utils/NXTHelpers.h"
#include "utils/DawnHelpers.h"
#include <array>

View File

@ -17,7 +17,7 @@
#include <array>
#include "common/Constants.h"
#include "common/Math.h"
#include "utils/NXTHelpers.h"
#include "utils/DawnHelpers.h"
class CopyTests : public NXTTest {
protected:

View File

@ -15,7 +15,7 @@
#include "tests/NXTTest.h"
#include "common/Assert.h"
#include "utils/NXTHelpers.h"
#include "utils/DawnHelpers.h"
constexpr static unsigned int kRTSize = 64;

View File

@ -14,7 +14,7 @@
#include "tests/NXTTest.h"
#include "utils/NXTHelpers.h"
#include "utils/DawnHelpers.h"
constexpr uint32_t kRTSize = 4;

View File

@ -15,7 +15,7 @@
#include "tests/NXTTest.h"
#include "common/Assert.h"
#include "utils/NXTHelpers.h"
#include "utils/DawnHelpers.h"
constexpr uint32_t kRTSize = 400;

View File

@ -15,7 +15,7 @@
#include "tests/NXTTest.h"
#include "common/Assert.h"
#include "utils/NXTHelpers.h"
#include "utils/DawnHelpers.h"
using dawn::InputStepMode;
using dawn::VertexFormat;

View File

@ -15,7 +15,7 @@
#include "tests/NXTTest.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:
// -------------------------------------

View File

@ -16,7 +16,7 @@
#include "common/Assert.h"
#include "common/Constants.h"
#include "utils/NXTHelpers.h"
#include "utils/DawnHelpers.h"
#include <array>

View File

@ -14,7 +14,7 @@
#include "tests/NXTTest.h"
#include "utils/NXTHelpers.h"
#include "utils/DawnHelpers.h"
#include <array>

View File

@ -19,7 +19,7 @@
#include "common/Assert.h"
#include "common/Constants.h"
#include "utils/NXTHelpers.h"
#include "utils/DawnHelpers.h"
constexpr static unsigned int kRTSize = 64;

View File

@ -14,7 +14,7 @@
#include "tests/NXTTest.h"
#include "utils/NXTHelpers.h"
#include "utils/DawnHelpers.h"
class ScissorTest: public NXTTest {
protected:

View File

@ -14,7 +14,7 @@
#include "tests/NXTTest.h"
#include "utils/NXTHelpers.h"
#include "utils/DawnHelpers.h"
class ViewportOrientationTests : public NXTTest {};

View File

@ -13,7 +13,7 @@
// limitations under the License.
#include "tests/unittests/validation/ValidationTest.h"
#include "utils/NXTHelpers.h"
#include "utils/DawnHelpers.h"
class BindGroupValidationTest : public ValidationTest {
};

View File

@ -14,7 +14,7 @@
#include "tests/unittests/validation/ValidationTest.h"
#include "utils/NXTHelpers.h"
#include "utils/DawnHelpers.h"
// Maximums for NXT, tests will start failing when this changes
static constexpr uint32_t kMaxVertexAttributes = 16u;

View File

@ -15,7 +15,7 @@
#include "tests/unittests/validation/ValidationTest.h"
#include "common/Constants.h"
#include "utils/NXTHelpers.h"
#include "utils/DawnHelpers.h"
#include <gmock/gmock.h>

View File

@ -15,7 +15,7 @@
#include "tests/unittests/validation/ValidationTest.h"
#include "common/Constants.h"
#include "utils/NXTHelpers.h"
#include "utils/DawnHelpers.h"
class RenderPipelineValidationTest : public ValidationTest {
protected:

View File

@ -16,7 +16,7 @@
#include "tests/unittests/validation/ValidationTest.h"
#include "utils/NXTHelpers.h"
#include "utils/DawnHelpers.h"
class VertexBufferValidationTest : public ValidationTest {
protected:

View File

@ -17,8 +17,8 @@ set(UTILS_DIR ${CMAKE_CURRENT_SOURCE_DIR})
list(APPEND UTILS_SOURCES
${UTILS_DIR}/BackendBinding.cpp
${UTILS_DIR}/BackendBinding.h
${UTILS_DIR}/NXTHelpers.cpp
${UTILS_DIR}/NXTHelpers.h
${UTILS_DIR}/DawnHelpers.cpp
${UTILS_DIR}/DawnHelpers.h
${UTILS_DIR}/SystemUtils.cpp
${UTILS_DIR}/SystemUtils.h
)

View File

@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include "utils/NXTHelpers.h"
#include "utils/DawnHelpers.h"
#include "common/Assert.h"