Re: [Mesa-dev] [PATCH] mesa: Remove broken assertion about enabled texture targets.

2013-07-25 Thread Brian Paul
On 07/25/2013 03:47 PM, Kenneth Graunke wrote: For GLSL programs, enabledTargets can have more than one bit set. For example, a shader that uses sampler2D and samplerCube uniforms will have both TEXTURE_2D_BIT and TEXTURE_CUBE_BIT set. The code that sets _ReallyEnabled already handles this, sel

[Mesa-dev] [PATCH] mesa: Remove broken assertion about enabled texture targets.

2013-07-25 Thread Kenneth Graunke
For GLSL programs, enabledTargets can have more than one bit set. For example, a shader that uses sampler2D and samplerCube uniforms will have both TEXTURE_2D_BIT and TEXTURE_CUBE_BIT set. The code that sets _ReallyEnabled already handles this, selecting the "highest priority" texture target. We