diff options
author | Brian Paul <[email protected]> | 2009-09-02 15:39:13 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2009-09-03 11:48:19 -0600 |
commit | 7a7d5879e28607c151132a8b6a07cf4be36b5b3e (patch) | |
tree | 516090dc61a1ea6edbd61bb778853274b5d089b6 /src/mesa/main/viewport.h | |
parent | 5cd7042088bdd0b5d9a92f4fc927029a46a23734 (diff) |
mesa: compute tex env program key size based on nr_enabled_units
When no textures are enabled, the key size is 4 bytes. If unit[0] is
enabled, the key size is 16 bytes.
Inspired by a patch from Chris Wilson.
Diffstat (limited to 'src/mesa/main/viewport.h')
0 files changed, 0 insertions, 0 deletions