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()
>> {
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
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