summaryrefslogtreecommitdiff
path: root/testdata/fetcharrays01.out
diff options
context:
space:
mode:
authorPéter Diviánszky <divipp@gmail.com>2016-02-14 15:02:55 +0100
committerPéter Diviánszky <divipp@gmail.com>2016-02-14 15:02:55 +0100
commit34e78f10452d1a1628a85eab443a4a672fd44ec3 (patch)
tree56321512ba2cdc3f3f62395818fa5c2f8b9a17f4 /testdata/fetcharrays01.out
parent87cefc9cacb9e82c4340c8552d9373175980faca (diff)
refactoring
Diffstat (limited to 'testdata/fetcharrays01.out')
-rw-r--r--testdata/fetcharrays01.out30
1 files changed, 16 insertions, 14 deletions
diff --git a/testdata/fetcharrays01.out b/testdata/fetcharrays01.out
index 5ab293d2..e3fcfa14 100644
--- a/testdata/fetcharrays01.out
+++ b/testdata/fetcharrays01.out
@@ -26,29 +26,31 @@ Pipeline
26 , vertexShader = 26 , vertexShader =
27 """ 27 """
28 #version 330 core 28 #version 330 core
29 vec4 texture2D(sampler2D s, vec2 uv){return texture(s,uv);} 29 vec4 texture2D(sampler2D s,vec2 uv) {
30 uniform mat4 MVP ; 30 return texture(s,uv);
31 in vec3 vi1 ; 31 }
32 in vec3 vi2 ; 32 uniform mat4 MVP;
33 smooth out vec4 vo1 ; 33 in vec3 vi1;
34 in vec3 vi2;
35 smooth out vec4 vo1;
34 void main() { 36 void main() {
35 gl_Position = ((MVP) * (vec4 37 gl_Position = ((MVP) * (vec4
36 ((vi1).x,(vi1).y,(vi1).z,1.0))) * (vec4 (0.5,0.5,0.5,1.0)); 38 ((vi1).x,(vi1).y,(vi1).z,1.0))) * (vec4 (0.5,0.5,0.5,1.0));
37 vo1 = vec4 ((vi1).x,(vi1).y,(vi1).z,1.0); 39 vo1 = vec4 ((vi1).x,(vi1).y,(vi1).z,1.0);
38 } 40 }
39
40 """ 41 """
41 , geometryShader = Nothing 42 , geometryShader = Nothing
42 , fragmentShader = 43 , fragmentShader =
43 """ 44 """
44 #version 330 core 45 #version 330 core
45 vec4 texture2D(sampler2D s, vec2 uv){return texture(s,uv);} 46 vec4 texture2D(sampler2D s,vec2 uv) {
46 smooth in vec4 vo1 ; 47 return texture(s,uv);
47 out vec4 f0 ; 48 }
49 smooth in vec4 vo1;
50 out vec4 f0;
48 void main() { 51 void main() {
49 f0 = vo1; 52 f0 = vo1;
50 } 53 }
51
52 """ 54 """
53 } 55 }
54 ] 56 ]