Re: [Mesa-dev] [PATCH] ir_to_mesa: Stop converting uniform booleans.

2014-09-08 Thread Matt Turner
On Mon, Sep 8, 2014 at 2:28 PM, Kenneth Graunke wrote: > Excess conversions considered harmful. > > Recently Matt reworked the boolean uniform handling to use the value of > UniformBooleanTrue, rather than integer 1, when uploading uniforms: > > mesa: Upload boolean uniforms using UniformBoole

[Mesa-dev] [PATCH] ir_to_mesa: Stop converting uniform booleans.

2014-09-08 Thread Kenneth Graunke
Excess conversions considered harmful. Recently Matt reworked the boolean uniform handling to use the value of UniformBooleanTrue, rather than integer 1, when uploading uniforms: mesa: Upload boolean uniforms using UniformBooleanTrue. glsl: Use UniformBooleanTrue value for uniform initial