X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=tests%2Fglsl%2Farithmetic_assignment.glsl;h=d0898fbeb61c2b8c3f3eecbd2f199e0102c28648;hb=b6c4e1a794276ca343c0c9bb0a300e729ca41931;hp=c3bcdad070b5f6dc511cca9f73f78054ef69cf33;hpb=8f2713a3f1501e90016bb8069ecd08dde2f90e56;p=libs%2Fgl.git diff --git a/tests/glsl/arithmetic_assignment.glsl b/tests/glsl/arithmetic_assignment.glsl index c3bcdad0..d0898fbe 100644 --- a/tests/glsl/arithmetic_assignment.glsl +++ b/tests/glsl/arithmetic_assignment.glsl @@ -25,6 +25,8 @@ void main() frag_color = vec4(color, 1.0); } +// Target API: OpenGL + /* Expected output: vertex layout(location=0) uniform mat4 mvp; layout(location=0) in vec4 position; @@ -37,6 +39,7 @@ void main() light = normal.z; _vs_out_texcoord = texcoord; gl_Position = mvp*position; + gl_Position.z = gl_Position.z*2.0-gl_Position.w; } */