diff options
Diffstat (limited to 'chromium/third_party/glslang/src/Test/450.vert')
-rw-r--r-- | chromium/third_party/glslang/src/Test/450.vert | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/chromium/third_party/glslang/src/Test/450.vert b/chromium/third_party/glslang/src/Test/450.vert new file mode 100644 index 00000000000..3844a5e176d --- /dev/null +++ b/chromium/third_party/glslang/src/Test/450.vert @@ -0,0 +1,23 @@ +#version 450 core + +out gl_PerVertex { + float gl_CullDistance[3]; +}; + +void main() +{ + gl_CullDistance[2] = 4.5; +} + +out bool outb; // ERROR +out sampler2D outo; // ERROR +out float outa[4]; +out float outaa[4][2]; +struct S { float f; }; +out S outs; +out S[4] outasa; +out S outsa[4]; +struct SA { float f[4]; }; +out SA outSA; +struct SS { float f; S s; }; +out SS outSS; |