diff options
author | Dave Airlie <[email protected]> | 2011-05-16 09:44:10 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2011-05-18 17:31:51 +1000 |
commit | 6bd8647b54054a59bdb4f0c170c4481eaadc81ff (patch) | |
tree | 28b5a3e33743063fe2d3dedae24ef78d8860b49f /src/mesa/.gitignore | |
parent | ecc051d65b6e17115439fb3609cccfd59f6272bf (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/.gitignore')
0 files changed, 0 insertions, 0 deletions