diff options
Diffstat (limited to 'chromium/third_party/glslang/src/Test/330comp.frag')
-rw-r--r-- | chromium/third_party/glslang/src/Test/330comp.frag | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/chromium/third_party/glslang/src/Test/330comp.frag b/chromium/third_party/glslang/src/Test/330comp.frag new file mode 100644 index 00000000000..50b037da66a --- /dev/null +++ b/chromium/third_party/glslang/src/Test/330comp.frag @@ -0,0 +1,12 @@ +#version 330 compatibility + +in vec4 inVar; +out vec4 outVar; + +varying vec4 varyingVar; + +void main() +{ + gl_FragColor = varyingVar; + gl_FragData[1] = inVar * gl_ModelViewMatrix; +} |