summaryrefslogtreecommitdiff
path: root/tests/bugs/texture2d-ms.hlsl
diff options
context:
space:
mode:
Diffstat (limited to 'tests/bugs/texture2d-ms.hlsl')
-rw-r--r--tests/bugs/texture2d-ms.hlsl10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/bugs/texture2d-ms.hlsl b/tests/bugs/texture2d-ms.hlsl
new file mode 100644
index 000000000..8a898b299
--- /dev/null
+++ b/tests/bugs/texture2d-ms.hlsl
@@ -0,0 +1,10 @@
+//TEST:CROSS_COMPILE: -profile lib_6_3 -entry main -stage compute -target spirv-assembly
+
+[[vk::binding(0, 0)]]
+Texture2DMS tex : register(t1);
+
+[numthreads(4, 4, 1)]
+void main(uint3 groupId : SV_GroupID)
+{
+ tex.Load(groupId.xy, 0);
+}