Re: [Mesa-dev] odd translation from glsl to tgsi for ir_unop_any_nequal

2014-05-08 Thread Ilia Mirkin
On Wed, May 7, 2014 at 10:55 PM, Ilia Mirkin wrote: > On Wed, May 7, 2014 at 8:38 PM, Ilia Mirkin wrote: >> So... this shader (from >> generated_tests/spec/glsl-1.10/execution/built-in-functions/fs-op-eq-mat2-mat2.shader_test): >> >> uniform mat2 arg0; >> uniform mat2 arg1; >> >> void main() >> {

Re: [Mesa-dev] odd translation from glsl to tgsi for ir_unop_any_nequal

2014-05-07 Thread Ilia Mirkin
On Wed, May 7, 2014 at 8:38 PM, Ilia Mirkin wrote: > So... this shader (from > generated_tests/spec/glsl-1.10/execution/built-in-functions/fs-op-eq-mat2-mat2.shader_test): > > uniform mat2 arg0; > uniform mat2 arg1; > > void main() > { > bool result = (arg0 == arg1); > gl_FragColor = vec4(resu

[Mesa-dev] odd translation from glsl to tgsi for ir_unop_any_nequal

2014-05-07 Thread Ilia Mirkin
So... this shader (from generated_tests/spec/glsl-1.10/execution/built-in-functions/fs-op-eq-mat2-mat2.shader_test): uniform mat2 arg0; uniform mat2 arg1; void main() { bool result = (arg0 == arg1); gl_FragColor = vec4(result, 0.0, 0.0, 0.0); } Which becomes the following IR: ( (declare (sh