summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/bugs/glsl-vk-binding-define.hlsl4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/bugs/glsl-vk-binding-define.hlsl b/tests/bugs/glsl-vk-binding-define.hlsl
index 4e68c0f75..785ec5b4c 100644
--- a/tests/bugs/glsl-vk-binding-define.hlsl
+++ b/tests/bugs/glsl-vk-binding-define.hlsl
@@ -3,3 +3,7 @@
[[vk::binding(UNDEFINED_VK_BINDING, UNDEFINED_VK_SET)]]
Texture2DArray<float4> Float4Texture2DArrays[] : register(t0, space100);
+float4 main() : SV_Position
+{
+ return 0;
+}