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.hlsl4
1 files changed, 3 insertions, 1 deletions
diff --git a/tests/bugs/texture2d-ms.hlsl b/tests/bugs/texture2d-ms.hlsl
index 1d8293937..3fb84f72d 100644
--- a/tests/bugs/texture2d-ms.hlsl
+++ b/tests/bugs/texture2d-ms.hlsl
@@ -3,8 +3,10 @@
[[vk::binding(0, 0)]]
Texture2DMS tex : register(t1);
+RWStructuredBuffer<float4> outBuffer;
+
[numthreads(4, 4, 1)]
void main(uint3 groupId : SV_GroupID)
{
- tex.Load(int2(groupId.xy), 0);
+ outBuffer[0] = tex.Load(int2(groupId.xy), 0);
}