diff options
author | Péter Diviánszky <divipp@gmail.com> | 2016-02-29 11:42:54 +0100 |
---|---|---|
committer | Péter Diviánszky <divipp@gmail.com> | 2016-02-29 11:43:07 +0100 |
commit | 3f7ebace8562ff63e030f19af2841f9c2a537bc3 (patch) | |
tree | ca8018c7eddf26b2aecab953c9fd2ccf343fa5c6 /testdata/helloWorld.out | |
parent | 1e7cd49b76c0764b9e424aa6702929005c235cb9 (diff) |
dependency change: pretty-compact --> wl-pprint
Diffstat (limited to 'testdata/helloWorld.out')
-rw-r--r-- | testdata/helloWorld.out | 14 |
1 files changed, 10 insertions, 4 deletions
diff --git a/testdata/helloWorld.out b/testdata/helloWorld.out index f54dc33f..696df8b5 100644 --- a/testdata/helloWorld.out +++ b/testdata/helloWorld.out | |||
@@ -24,17 +24,22 @@ 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 vec4 vi1; | 32 | in vec4 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 (0.5,(MVP) * (vi1)); | 41 | gl_Position = scale (0.5 |
42 | ,(MVP) * (vi1)); | ||
38 | vo1 = vi1; | 43 | vo1 = vi1; |
39 | } | 44 | } |
40 | """ | 45 | """ |
@@ -42,7 +47,8 @@ Pipeline | |||
42 | , fragmentShader = | 47 | , fragmentShader = |
43 | """ | 48 | """ |
44 | #version 330 core | 49 | #version 330 core |
45 | vec4 texture2D(sampler2D s,vec2 uv) { | 50 | vec4 texture2D(sampler2D s |
51 | ,vec2 uv) { | ||
46 | return texture(s,uv); | 52 | return texture(s,uv); |
47 | } | 53 | } |
48 | smooth in vec4 vo1; | 54 | smooth in vec4 vo1; |