[Piglit] [PATCH] arb_gpu_shader_fp64: cleanup glsl-uniform-initializer-2 test

Tapani Pälli tapani.palli at intel.com
Fri Sep 19 00:12:13 PDT 2014


remove couple of extra uniform updates, add a bit of documentation

Signed-off-by: Tapani Pälli <tapani.palli at intel.com>
---
 .../execution/glsl-uniform-initializer-2.shader_test                  | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/tests/spec/arb_gpu_shader_fp64/execution/glsl-uniform-initializer-2.shader_test b/tests/spec/arb_gpu_shader_fp64/execution/glsl-uniform-initializer-2.shader_test
index f4396bb..f5df993 100644
--- a/tests/spec/arb_gpu_shader_fp64/execution/glsl-uniform-initializer-2.shader_test
+++ b/tests/spec/arb_gpu_shader_fp64/execution/glsl-uniform-initializer-2.shader_test
@@ -15,11 +15,11 @@ void main()
 }
 
 [test]
+# green rectangle on the left side
 draw rect -1 -1 1 2
 uniform dvec2 color[0] 0.0 0.0
 uniform dvec2 color[1] 1.0 0.0
+# blue rectangle on the right side
 draw rect 0 -1 1 2
-uniform dvec2 color[0] 0.0 1.0
-uniform dvec2 color[1] 0.0 0.0
 relative probe rgb (0.25, 0.5) (0.0, 1.0, 0.0)
 relative probe rgb (0.75, 0.5) (0.0, 0.0, 1.0)
-- 
1.9.3



More information about the Piglit mailing list