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 <[email protected]>
Signed-off-by: Samuel Pitoiset <[email protected]>
---
 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

_______________________________________________
Piglit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/piglit

Reply via email to