summaryrefslogtreecommitdiffstats
path: root/src/glsl/ast_to_hir.cpp
diff options
context:
space:
mode:
authorChris Forbes <[email protected]>2014-04-13 12:37:32 +1200
committerChris Forbes <[email protected]>2014-04-21 10:13:07 +1200
commitd63026f62ac0d9c4674a93d12843ea96e77b3c5e (patch)
tree5314f7f143d26cf2f903e76144d6f646b12e59ed /src/glsl/ast_to_hir.cpp
parentc4a98e76d7dcb84ba6a0337dc975351966c4dac7 (diff)
i965: Use ctx->Texture._MaxEnabledTexImageUnit for upper bound
Avoid looping over 32/48/96 (!!) tex image units every draw, most of which we don't care about. Improves performance on everyone's favorite not-a-benchmark by 2.9% on Haswell. Signed-off-by: Chris Forbes <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/glsl/ast_to_hir.cpp')
0 files changed, 0 insertions, 0 deletions