summaryrefslogtreecommitdiffstats
path: root/tests/render
diff options
context:
space:
mode:
authorjsmall-nvidia <jsmall@nvidia.com>2018-04-04 17:23:49 -0400
committerGitHub <noreply@github.com>2018-04-04 17:23:49 -0400
commit071566c5c64d62f7f894b14b1077f0b2a4038903 (patch)
tree6b1512d23638cbdcfc807646993ef9fd6d20b758 /tests/render
parent357bce2b3368a40bd436d10ba276b1e448f60984 (diff)
Switch on dx12 testing for remaining render tests. (#477)
* Dx12 rendering works in test framework. * Turn on dx12 render tests.
Diffstat (limited to 'tests/render')
-rw-r--r--tests/render/cross-compile-entry-point.slang1
-rw-r--r--tests/render/cross-compile0.hlsl1
-rw-r--r--tests/render/imported-parameters.hlsl1
-rw-r--r--tests/render/nointerpolation.hlsl1
-rw-r--r--tests/render/unused-discard.hlsl1
5 files changed, 5 insertions, 0 deletions
diff --git a/tests/render/cross-compile-entry-point.slang b/tests/render/cross-compile-entry-point.slang
index 018947228..fa35833f0 100644
--- a/tests/render/cross-compile-entry-point.slang
+++ b/tests/render/cross-compile-entry-point.slang
@@ -1,4 +1,5 @@
//TEST(render):COMPARE_HLSL_CROSS_COMPILE_RENDER:
+//TEST(render):COMPARE_HLSL_CROSS_COMPILE_RENDER: -dx12
// This is a test to ensure that we can cross-compile a complete entry point.
diff --git a/tests/render/cross-compile0.hlsl b/tests/render/cross-compile0.hlsl
index 1d33b68bf..3d25c93e5 100644
--- a/tests/render/cross-compile0.hlsl
+++ b/tests/render/cross-compile0.hlsl
@@ -1,4 +1,5 @@
//TEST(smoke,render):COMPARE_HLSL_GLSL_RENDER:
+//TEST(smoke,render):COMPARE_HLSL_GLSL_RENDER: -dx12
// This is a basic test case for cross-compilation behavior.
//
diff --git a/tests/render/imported-parameters.hlsl b/tests/render/imported-parameters.hlsl
index 495ff8da2..0bee75bf9 100644
--- a/tests/render/imported-parameters.hlsl
+++ b/tests/render/imported-parameters.hlsl
@@ -1,4 +1,5 @@
//TEST(smoke,render):COMPARE_HLSL_GLSL_RENDER:
+//TEST(smoke,render):COMPARE_HLSL_GLSL_RENDER: -dx12
// This test is trying to ensure that we can
// correctly handle cases where top-level shader
diff --git a/tests/render/nointerpolation.hlsl b/tests/render/nointerpolation.hlsl
index 11613b30e..644692e36 100644
--- a/tests/render/nointerpolation.hlsl
+++ b/tests/render/nointerpolation.hlsl
@@ -1,4 +1,5 @@
//TEST(smoke):COMPARE_HLSL_RENDER:
+//TEST(smoke):COMPARE_HLSL_RENDER: -dx12
// Confirm that the `nointerpolation` modifier
// makes it through Slang codegen with the
diff --git a/tests/render/unused-discard.hlsl b/tests/render/unused-discard.hlsl
index 76b04b862..2a99b77bb 100644
--- a/tests/render/unused-discard.hlsl
+++ b/tests/render/unused-discard.hlsl
@@ -1,4 +1,5 @@
//TEST(smoke,render):COMPARE_HLSL_GLSL_RENDER:
+//TEST(smoke,render):COMPARE_HLSL_GLSL_RENDER: -dx12
// This is a basic test case for cross-compilation behavior.
//