diff options
author | Péter Diviánszky <divipp@gmail.com> | 2016-02-14 15:02:55 +0100 |
---|---|---|
committer | Péter Diviánszky <divipp@gmail.com> | 2016-02-14 15:02:55 +0100 |
commit | 34e78f10452d1a1628a85eab443a4a672fd44ec3 (patch) | |
tree | 56321512ba2cdc3f3f62395818fa5c2f8b9a17f4 /testdata/uniformparam02.out | |
parent | 87cefc9cacb9e82c4340c8552d9373175980faca (diff) |
refactoring
Diffstat (limited to 'testdata/uniformparam02.out')
-rw-r--r-- | testdata/uniformparam02.out | 21 |
1 files changed, 12 insertions, 9 deletions
diff --git a/testdata/uniformparam02.out b/testdata/uniformparam02.out index d057c8c0..8fde7aec 100644 --- a/testdata/uniformparam02.out +++ b/testdata/uniformparam02.out | |||
@@ -22,24 +22,27 @@ Pipeline | |||
22 | , vertexShader = | 22 | , vertexShader = |
23 | """ | 23 | """ |
24 | #version 330 core | 24 | #version 330 core |
25 | vec4 texture2D(sampler2D s, vec2 uv){return texture(s,uv);} | 25 | vec4 texture2D(sampler2D s,vec2 uv) { |
26 | in vec4 vi1 ; | 26 | return texture(s,uv); |
27 | flat out vec4 vo1 ; | 27 | } |
28 | in vec4 vi1; | ||
29 | flat out vec4 vo1; | ||
28 | void main() { | 30 | void main() { |
29 | gl_Position = vi1; | 31 | gl_Position = vi1; |
30 | vo1 = vi1; | 32 | vo1 = vi1; |
31 | } | 33 | } |
32 | |||
33 | """ | 34 | """ |
34 | , geometryShader = Nothing | 35 | , geometryShader = Nothing |
35 | , fragmentShader = | 36 | , fragmentShader = |
36 | """ | 37 | """ |
37 | #version 330 core | 38 | #version 330 core |
38 | vec4 texture2D(sampler2D s, vec2 uv){return texture(s,uv);} | 39 | vec4 texture2D(sampler2D s,vec2 uv) { |
39 | flat in vec4 vo1 ; | 40 | return texture(s,uv); |
41 | } | ||
42 | flat in vec4 vo1; | ||
40 | void main() { | 43 | void main() { |
44 | |||
41 | } | 45 | } |
42 | |||
43 | """ | 46 | """ |
44 | } | 47 | } |
45 | ] | 48 | ] |