diff options
author | Kenneth Graunke <[email protected]> | 2013-07-25 14:47:58 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2013-07-29 22:35:37 -0700 |
commit | 07cdf426c108eca93ac8ff3c682e2c800a5f5d20 (patch) | |
tree | af6deaedf488e99ad2b34a54aa233c2479befb9d /src/gallium/state_trackers | |
parent | 488b3ed6f40df4608f7d02758ffd4ab7070c782e (diff) |
mesa: Remove broken assertion about enabled texture targets.
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 should simply use that.
Fixes new Piglit test incomplete-textures-of-multiple-types.
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=62698
Signed-off-by: Kenneth Graunke <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers')
0 files changed, 0 insertions, 0 deletions