summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/preprocessor/import.hlsl2
-rw-r--r--tests/render/cross-compile0.hlsl4
-rw-r--r--tests/render/imported-parameters.hlsl4
-rw-r--r--tests/render/pound-import.hlsl4
4 files changed, 7 insertions, 7 deletions
diff --git a/tests/preprocessor/import.hlsl b/tests/preprocessor/import.hlsl
index 486023678..f0618a667 100644
--- a/tests/preprocessor/import.hlsl
+++ b/tests/preprocessor/import.hlsl
@@ -1,4 +1,4 @@
-//TEST:SIMPLE:-profile vs_5_0
+//TEST:SIMPLE:-target none -profile vs_5_0
// Confirm that `#import` interacts with preprocessor as expected
diff --git a/tests/render/cross-compile0.hlsl b/tests/render/cross-compile0.hlsl
index d300e2bd5..d40f3460f 100644
--- a/tests/render/cross-compile0.hlsl
+++ b/tests/render/cross-compile0.hlsl
@@ -97,8 +97,8 @@ uniform Uniforms
#define ASSEMBLED_VERTEX(QUAL) \
/* */
-#define V2F(QUAL) \
- QUAL vec3 coarse_color; \
+#define V2F(QUAL) \
+ layout(location = 0) QUAL vec3 coarse_color; \
/* */
// Vertex Shader
diff --git a/tests/render/imported-parameters.hlsl b/tests/render/imported-parameters.hlsl
index 605214fc9..99216728e 100644
--- a/tests/render/imported-parameters.hlsl
+++ b/tests/render/imported-parameters.hlsl
@@ -84,8 +84,8 @@ FragmentStageOutput fragmentMain(FragmentStageInput input)
#define ASSEMBLED_VERTEX(QUAL) \
/* */
-#define V2F(QUAL) \
- QUAL vec3 coarse_color; \
+#define V2F(QUAL) \
+ layout(location = 0) QUAL vec3 coarse_color; \
/* */
// Vertex Shader
diff --git a/tests/render/pound-import.hlsl b/tests/render/pound-import.hlsl
index a9b625fb6..07b195966 100644
--- a/tests/render/pound-import.hlsl
+++ b/tests/render/pound-import.hlsl
@@ -97,8 +97,8 @@ uniform Uniforms
#define ASSEMBLED_VERTEX(QUAL) \
/* */
-#define V2F(QUAL) \
- QUAL vec3 coarse_color; \
+#define V2F(QUAL) \
+ layout(location = 0) QUAL vec3 coarse_color; \
/* */
// Vertex Shader