mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 20:08:06 +02:00
r200: only emit unitneeded textures
This commit is contained in:
parent
622858884f
commit
db54579628
1 changed files with 2 additions and 0 deletions
|
|
@ -585,6 +585,8 @@ static void tex_emit_cs(GLcontext *ctx, struct radeon_state_atom *atom)
|
|||
radeon_mipmap_level *lvl;
|
||||
int hastexture = 1;
|
||||
|
||||
if (!r200->state.texture.unit[i].unitneeded)
|
||||
hastexture = 0;
|
||||
if (!t)
|
||||
hastexture = 0;
|
||||
else {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue