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.glsl | |
| 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.glsl')
| -rw-r--r-- | tests/bugs/texture2d-ms.hlsl.glsl | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/tests/bugs/texture2d-ms.hlsl.glsl b/tests/bugs/texture2d-ms.hlsl.glsl new file mode 100644 index 000000000..ba0d571dd --- /dev/null +++ b/tests/bugs/texture2d-ms.hlsl.glsl @@ -0,0 +1,16 @@ +// texture2d-ms.hlsl.glsl +//TEST_IGNORE_FILE: + +#version 450 +layout(row_major) uniform; +layout(row_major) buffer; +#extension GL_EXT_samplerless_texture_functions : require +layout(binding = 0) +uniform texture2DMS tex_0; + +layout(local_size_x = 4, local_size_y = 4, local_size_z = 1) in;void main() +{ + vec4 _S1 = (texelFetch((tex_0), (ivec2(gl_WorkGroupID.xy)), (0))); + return; +} + |
