summaryrefslogtreecommitdiffstats
path: root/tests/bugs/texture2d-ms.hlsl
diff options
context:
space:
mode:
authorYong He <yonghe@outlook.com>2023-09-26 23:56:06 -0700
committerGitHub <noreply@github.com>2023-09-27 14:56:06 +0800
commitebe8ddefc48478307d5f206cd3e40c41d28a36e3 (patch)
tree8e13977979909a26394eea532d8b95cd5ad0f6d1 /tests/bugs/texture2d-ms.hlsl
parentc5c8cfbb360d9a763f549df48636effde839eacd (diff)
Various SPIRV fixes. (#3231)
* Various SPIRV fixes. - Geometry shader support (WIP). - Fix texture get dimension and load. - Fold global GetElement(MakeArray/MakeVector) insts. - Call spvopt to inline all functions. - Translate OpImageSubscript. - Emit struct member names and global variable names. - Fix lowering of OpBitNot -> OpNot, instead of OpBitReverse. * Fix test. * Fix geometry shader. * Fix geometry shader emit. * Add atomic Image access test. * Fix tests. * don't fail if spirv-opt fails. * Update comments. * Fix test. * Cleanups. * indentation --------- Co-authored-by: Yong He <yhe@nvidia.com> Co-authored-by: Ellie Hermaszewska <ellieh@nvidia.com>
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 3fb84f72d..2de9da7bf 100644
--- a/tests/bugs/texture2d-ms.hlsl
+++ b/tests/bugs/texture2d-ms.hlsl
@@ -1,10 +1,12 @@
-//TEST:CROSS_COMPILE: -profile lib_6_3 -entry main -stage compute -target spirv-assembly
+//TEST:SIMPLE(filecheck=CHECK): -profile lib_6_3 -entry main -stage compute -target spirv
[[vk::binding(0, 0)]]
Texture2DMS tex : register(t1);
RWStructuredBuffer<float4> outBuffer;
+// CHECK: %{{.*}} = OpImageFetch %v4float %{{.*}} %{{.*}} Sample %int_0
+
[numthreads(4, 4, 1)]
void main(uint3 groupId : SV_GroupID)
{