diff options
author | Eric Anholt <[email protected]> | 2014-04-24 00:57:54 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2014-04-30 14:33:20 -0700 |
commit | 6a97deb88aa715af9760cf3c7ca0c1ff76e4f325 (patch) | |
tree | b5cf68091aa03270acaa96906a7cd8d534a2eaea /src/mesa/main/texobj.c | |
parent | a580b500edb25298d99e8e78d04eaca418dcd4ce (diff) |
mesa: Rewrite shader-based texture image state updates.
Instead of walking 6 shader stages for each of the 96 combined texture
image units, now we just walk the samplers used in each shader stage.
With cairo-perf-trace on Xephyr with glamor, I'm seeing a -6.50518% +/-
2.55601% effect on runtime (n=22) since the "drop _EnabledUnits" change.
No significant performance difference on an apitrace of minecraft (n=442).
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/main/texobj.c')
0 files changed, 0 insertions, 0 deletions