summaryrefslogtreecommitdiffstats
path: root/src/mesa/tnl
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2011-05-16 09:44:10 +1000
committerDave Airlie <[email protected]>2011-05-18 17:31:51 +1000
commit6bd8647b54054a59bdb4f0c170c4481eaadc81ff (patch)
tree28b5a3e33743063fe2d3dedae24ef78d8860b49f /src/mesa/tnl
parentecc051d65b6e17115439fb3609cccfd59f6272bf (diff)
st/mesa: only memset sampler when about to use it.
This function was taking a lot more CPU than required due to it memsetting a bunch of memory that didn't require it from what I can see. We should only memset here when we are about to fill out the sampler, otherwise we end up doing a bunch of memsets for everytime this function is called, basically setting 0 memory to 0. Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/mesa/tnl')
0 files changed, 0 insertions, 0 deletions