diff options
Diffstat (limited to 'chromium/third_party/glslang/src/Test/spv.300BuiltIns.vert')
-rw-r--r-- | chromium/third_party/glslang/src/Test/spv.300BuiltIns.vert | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/chromium/third_party/glslang/src/Test/spv.300BuiltIns.vert b/chromium/third_party/glslang/src/Test/spv.300BuiltIns.vert new file mode 100644 index 00000000000..847448fb66a --- /dev/null +++ b/chromium/third_party/glslang/src/Test/spv.300BuiltIns.vert @@ -0,0 +1,14 @@ +#version 310 es + +in mediump float ps; + +invariant gl_Position; + +void main() +{ + gl_Position = vec4(ps); + gl_Position *= float(4 - gl_VertexIndex); + + gl_PointSize = ps; + gl_PointSize *= float(5 - gl_InstanceIndex); +} |