[Piglit] [PATCH 2/2] arb_gpu_shader_fp64: set missing 'w' component to glsl-uniform-initializer-4
Samuel Pitoiset
samuel.pitoiset at gmail.com
Mon May 22 19:05:40 UTC 2017
Since b741bc770 ("parser_utils: do not overwrite value when no
digits are found "), the 'w' component 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>
---
.../execution/glsl-uniform-initializer-4.shader_test | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/tests/spec/arb_gpu_shader_fp64/execution/glsl-uniform-initializer-4.shader_test b/tests/spec/arb_gpu_shader_fp64/execution/glsl-uniform-initializer-4.shader_test
index 83c3be19a..6a92d4887 100644
--- a/tests/spec/arb_gpu_shader_fp64/execution/glsl-uniform-initializer-4.shader_test
+++ b/tests/spec/arb_gpu_shader_fp64/execution/glsl-uniform-initializer-4.shader_test
@@ -20,6 +20,6 @@ void main()
}
[test]
-uniform dvec4 color 1.0 0.0 0.5
+uniform dvec4 color 1.0 0.0 0.5 0.0
draw rect -1 -1 2 2
probe all rgba 0.0 1.0 0.5 0.0
--
2.13.0
More information about the Piglit
mailing list