From 34e78f10452d1a1628a85eab443a4a672fd44ec3 Mon Sep 17 00:00:00 2001 From: Péter Diviánszky Date: Sun, 14 Feb 2016 15:02:55 +0100 Subject: refactoring --- testdata/uniformparam02.out | 21 ++++++++++++--------- 1 file changed, 12 insertions(+), 9 deletions(-) (limited to 'testdata/uniformparam02.out') 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 , vertexShader = """ #version 330 core - vec4 texture2D(sampler2D s, vec2 uv){return texture(s,uv);} - in vec4 vi1 ; - flat out vec4 vo1 ; + vec4 texture2D(sampler2D s,vec2 uv) { + return texture(s,uv); + } + in vec4 vi1; + flat out vec4 vo1; void main() { - gl_Position = vi1; - vo1 = vi1; + gl_Position = vi1; + vo1 = vi1; } - """ , geometryShader = Nothing , fragmentShader = """ #version 330 core - vec4 texture2D(sampler2D s, vec2 uv){return texture(s,uv);} - flat in vec4 vo1 ; + vec4 texture2D(sampler2D s,vec2 uv) { + return texture(s,uv); + } + flat in vec4 vo1; void main() { + } - """ } ] -- cgit v1.2.3