summaryrefslogtreecommitdiff
path: root/testdata/line01.out
diff options
context:
space:
mode:
authorPéter Diviánszky <divipp@gmail.com>2016-02-29 11:42:54 +0100
committerPéter Diviánszky <divipp@gmail.com>2016-02-29 11:43:07 +0100
commit3f7ebace8562ff63e030f19af2841f9c2a537bc3 (patch)
treeca8018c7eddf26b2aecab953c9fd2ccf343fa5c6 /testdata/line01.out
parent1e7cd49b76c0764b9e424aa6702929005c235cb9 (diff)
dependency change: pretty-compact --> wl-pprint
Diffstat (limited to 'testdata/line01.out')
-rw-r--r--testdata/line01.out23
1 files changed, 17 insertions, 6 deletions
diff --git a/testdata/line01.out b/testdata/line01.out
index 9a8163e5..4df07c3e 100644
--- a/testdata/line01.out
+++ b/testdata/line01.out
@@ -24,26 +24,37 @@ Pipeline
24 , vertexShader = 24 , vertexShader =
25 """ 25 """
26 #version 330 core 26 #version 330 core
27 vec4 texture2D(sampler2D s,vec2 uv) { 27 vec4 texture2D(sampler2D s
28 ,vec2 uv) {
28 return texture(s,uv); 29 return texture(s,uv);
29 } 30 }
30 uniform mat4 MVP; 31 uniform mat4 MVP;
31 in vec3 vi1; 32 in vec3 vi1;
32 smooth out vec4 vo1; 33 smooth out vec4 vo1;
33 vec4 scale(float z0,vec4 z1) { 34 vec4 scale(float z0,vec4 z1) {
34 return (z1) * (vec4 (z0,z0,z0,1.0)); 35 return (z1) * (vec4 (z0
36 ,z0
37 ,z0
38 ,1.0));
35 } 39 }
36 void main() { 40 void main() {
37 gl_Position = scale 41 gl_Position = scale (0.5
38 (0.5,(MVP) * (vec4 ((vi1).x,(vi1).y,(vi1).z,1.0))); 42 ,(MVP) * (vec4 ((vi1).x
39 vo1 = vec4 ((vi1).x,(vi1).y,(vi1).z,1.0); 43 ,(vi1).y
44 ,(vi1).z
45 ,1.0)));
46 vo1 = vec4 ((vi1).x
47 ,(vi1).y
48 ,(vi1).z
49 ,1.0);
40 } 50 }
41 """ 51 """
42 , geometryShader = Nothing 52 , geometryShader = Nothing
43 , fragmentShader = 53 , fragmentShader =
44 """ 54 """
45 #version 330 core 55 #version 330 core
46 vec4 texture2D(sampler2D s,vec2 uv) { 56 vec4 texture2D(sampler2D s
57 ,vec2 uv) {
47 return texture(s,uv); 58 return texture(s,uv);
48 } 59 }
49 smooth in vec4 vo1; 60 smooth in vec4 vo1;