[Piglit] [PATCH 1/2] shaders: set missing blue color to glsl-const-builtin-distance.shader_test

Samuel Pitoiset samuel.pitoiset at gmail.com
Mon May 22 19:05:39 UTC 2017


Since b741bc770 ("parser_utils: do not overwrite value when no
digits are found "), the blue color has to be explicitly initialized
to zero.

Cc: Mark Janes <mark.a.janes at intel.com>
Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
---
 tests/shaders/glsl-const-builtin-distance.shader_test | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/shaders/glsl-const-builtin-distance.shader_test b/tests/shaders/glsl-const-builtin-distance.shader_test
index 460313c25..3ca9f8943 100644
--- a/tests/shaders/glsl-const-builtin-distance.shader_test
+++ b/tests/shaders/glsl-const-builtin-distance.shader_test
@@ -19,4 +19,4 @@ void main()
 
 [test]
 draw rect -1 -1 2 2
-probe all rgb 0.73087868591526 0.73087868591526
+probe all rgb 0.73087868591526 0.73087868591526 0.0
-- 
2.13.0



More information about the Piglit mailing list