summaryrefslogtreecommitdiff
path: root/testdata/fetcharrays01.out
diff options
context:
space:
mode:
authorPéter Diviánszky <divipp@gmail.com>2016-05-01 19:13:34 +0200
committerPéter Diviánszky <divipp@gmail.com>2016-05-01 19:13:34 +0200
commit90e336391673ac1cf9ff582e98e35faf89a8f09d (patch)
tree0b7a14dbfc5734c07c2ae4ed34cb679fecd10d3f /testdata/fetcharrays01.out
parent1a7544763729938e7009ead1e375e9bbf413afb0 (diff)
improve pretty print layout & show desugared source code in .out files
Diffstat (limited to 'testdata/fetcharrays01.out')
-rw-r--r--testdata/fetcharrays01.out22
1 files changed, 5 insertions, 17 deletions
diff --git a/testdata/fetcharrays01.out b/testdata/fetcharrays01.out
index 6819fc6b..d4c100a2 100644
--- a/testdata/fetcharrays01.out
+++ b/testdata/fetcharrays01.out
@@ -26,8 +26,7 @@ Pipeline
26 , vertexShader = 26 , vertexShader =
27 """ 27 """
28 #version 330 core 28 #version 330 core
29 vec4 texture2D(sampler2D s 29 vec4 texture2D(sampler2D s,vec2 uv) {
30 ,vec2 uv) {
31 return texture(s,uv); 30 return texture(s,uv);
32 } 31 }
33 uniform mat4 MVP; 32 uniform mat4 MVP;
@@ -35,29 +34,18 @@ Pipeline
35 in vec3 vi2; 34 in vec3 vi2;
36 smooth out vec4 vo1; 35 smooth out vec4 vo1;
37 vec4 scale(float z0,vec4 z1) { 36 vec4 scale(float z0,vec4 z1) {
38 return (z1) * (vec4 (z0 37 return (z1) * (vec4 (z0,z0,z0,1.0));
39 ,z0
40 ,z0
41 ,1.0));
42 } 38 }
43 void main() { 39 void main() {
44 gl_Position = scale (0.5 40 gl_Position = scale (0.5,(MVP) * (vec4 ((vi1).x,(vi1).y,(vi1).z,1.0)));
45 ,(MVP) * (vec4 ((vi1).x 41 vo1 = vec4 ((vi1).x,(vi1).y,(vi1).z,1.0);
46 ,(vi1).y
47 ,(vi1).z
48 ,1.0)));
49 vo1 = vec4 ((vi1).x
50 ,(vi1).y
51 ,(vi1).z
52 ,1.0);
53 } 42 }
54 """ 43 """
55 , geometryShader = Nothing 44 , geometryShader = Nothing
56 , fragmentShader = 45 , fragmentShader =
57 """ 46 """
58 #version 330 core 47 #version 330 core
59 vec4 texture2D(sampler2D s 48 vec4 texture2D(sampler2D s,vec2 uv) {
60 ,vec2 uv) {
61 return texture(s,uv); 49 return texture(s,uv);
62 } 50 }
63 smooth in vec4 vo1; 51 smooth in vec4 vo1;