diff options
| author | Robert Stepinski <rob.stepinski@gmail.com> | 2019-08-16 11:30:48 -0400 |
|---|---|---|
| committer | Tim Foley <tfoleyNV@users.noreply.github.com> | 2019-08-16 08:30:48 -0700 |
| commit | c4541e83b4a57d8317932bc4277ee6a2d45bb2f6 (patch) | |
| tree | 2e6add905907d22e003c173fb3b0d3eda9485972 /tests/bugs/texture2d-ms.hlsl | |
| parent | 77fe3dd74446fb07dd0de31114f7033f111ef868 (diff) | |
Fix a typo in core.meta.slang which was causing an assert when (#1024)
compiling shaders that used texture2DMS Load() operations
Diffstat (limited to 'tests/bugs/texture2d-ms.hlsl')
| -rw-r--r-- | tests/bugs/texture2d-ms.hlsl | 10 |
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); +} |
