diff options
Diffstat (limited to 'chromium/third_party/glslang/src/Test/spv.uniformArray.frag')
-rw-r--r-- | chromium/third_party/glslang/src/Test/spv.uniformArray.frag | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/chromium/third_party/glslang/src/Test/spv.uniformArray.frag b/chromium/third_party/glslang/src/Test/spv.uniformArray.frag new file mode 100644 index 00000000000..4f642e6e971 --- /dev/null +++ b/chromium/third_party/glslang/src/Test/spv.uniformArray.frag @@ -0,0 +1,17 @@ +#version 140 + +uniform sampler2D texSampler2D; +in vec3 inColor; +in vec4 color[6]; +in float alpha[16]; + +void main() +{ + vec4 texColor = color[1] + color[1]; + + texColor.xyz += inColor; + + texColor.a += alpha[12]; + + gl_FragColor = texColor; +} |