diff options
Diffstat (limited to 'chromium/third_party/glslang/src/Test/310implicitSizeArrayError.vert')
-rw-r--r-- | chromium/third_party/glslang/src/Test/310implicitSizeArrayError.vert | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/chromium/third_party/glslang/src/Test/310implicitSizeArrayError.vert b/chromium/third_party/glslang/src/Test/310implicitSizeArrayError.vert new file mode 100644 index 00000000000..f9a3461a367 --- /dev/null +++ b/chromium/third_party/glslang/src/Test/310implicitSizeArrayError.vert @@ -0,0 +1,8 @@ +#version 310 es +layout (location=0) uniform Block { + highp int a[]; +} uni; +layout (location=0) out highp int o; +void main() { + o = uni.a[2]; +} |