Completely initialize data that is passed to ir_constant constructor.
Fixes piglit glsl-orangebook-ch06-bump valgrind uninitialized variable
error on softpipe and llvmpipe.
* causes the matrix to be filled with 0 and the diagonal to be
* filled with the value.
*/
* causes the matrix to be filled with 0 and the diagonal to be
* filled with the value.
*/
+ ir_constant_data data = { { 0 } };
ir_constant *const initializer =
(ir_constant *) actual_parameters.head;
if (constructor_type->is_matrix())
ir_constant *const initializer =
(ir_constant *) actual_parameters.head;
if (constructor_type->is_matrix())