diff options
Diffstat (limited to 'testdata/PrimReduce.out')
-rw-r--r-- | testdata/PrimReduce.out | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/testdata/PrimReduce.out b/testdata/PrimReduce.out index e984694d..cb9c7767 100644 --- a/testdata/PrimReduce.out +++ b/testdata/PrimReduce.out | |||
@@ -26,12 +26,17 @@ Pipeline | |||
26 | return texture(s,uv); | 26 | return texture(s,uv); |
27 | } | 27 | } |
28 | in vec4 vi1; | 28 | in vec4 vi1; |
29 | vec4 rotate(float z0,vec4 z1) { | ||
30 | return (mat4 (vec4 (cos (z0),(0.0) - (sin (z0)),0.0,0.0) | ||
31 | ,vec4 (sin (z0),cos (z0),0.0,0.0) | ||
32 | ,vec4 (0.0,0.0,1.0,0.0) | ||
33 | ,vec4 (0.0,0.0,0.0,1.0))) * (z1); | ||
34 | } | ||
35 | vec4 scale(float z0,vec4 z1) { | ||
36 | return (z1) * (vec4 (z0,z0,z0,1.0)); | ||
37 | } | ||
29 | void main() { | 38 | void main() { |
30 | gl_Position = ((mat4 | 39 | gl_Position = scale (0.1,rotate (3.0,vi1)); |
31 | (vec4 (cos (3.0),(0.0) - (sin (3.0)),0.0,0.0) | ||
32 | ,vec4 (sin (3.0),cos (3.0),0.0,0.0) | ||
33 | ,vec4 (0.0,0.0,1.0,0.0) | ||
34 | ,vec4 (0.0,0.0,0.0,1.0))) * (vi1)) * (vec4 (0.1,0.1,0.1,1.0)); | ||
35 | } | 40 | } |
36 | """ | 41 | """ |
37 | , geometryShader = Nothing | 42 | , geometryShader = Nothing |