Re: [Mesa-dev] [PATCH] glsl: Fix aggregates with dynamic initializers.

2014-07-14 Thread Kenneth Graunke
On Thursday, July 10, 2014 09:55:31 AM Cody Northrop wrote: Vectors are falling in to the ir_dereference_array() path. Without this change, the following glsl aborts the debug driver, or gets the wrong answer in release: mat2x2 a = mat2( vec2( 1.0, vertex.x ), vec2( 0.0, 1.0 ) ); Also

[Mesa-dev] [PATCH] glsl: Fix aggregates with dynamic initializers.

2014-07-10 Thread Cody Northrop
Vectors are falling in to the ir_dereference_array() path. Without this change, the following glsl aborts the debug driver, or gets the wrong answer in release: mat2x2 a = mat2( vec2( 1.0, vertex.x ), vec2( 0.0, 1.0 ) ); Also submitting piglit tests, will reference in bug. v2: Rebase on Mesa

[Mesa-dev] [PATCH] glsl: Fix aggregates with dynamic initializers.

2014-07-01 Thread Cody Northrop
Vectors are falling in to the ir_dereference_array() path. Without this change, the following glsl aborts the debug driver, or gets the wrong answer in release: mat2x2 a = mat2( vec2( 1.0, vertex.x ), vec2( 0.0, 1.0 ) ); Also submitting piglit tests, will reference in bug. Signed-off-by: Cody