X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=tests%2Fglsl%2Farithmetic_assignment.glsl;fp=tests%2Fglsl%2Farithmetic_assignment.glsl;h=d0898fbeb61c2b8c3f3eecbd2f199e0102c28648;hb=97d26f5179e82cd2faf476a9605f8a4f4b33a926;hp=c3bcdad070b5f6dc511cca9f73f78054ef69cf33;hpb=4b9c9f565bb0335034dc8c2c7ad833ee42251d5d;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; } */