diff options
author | Eric Anholt <[email protected]> | 2013-03-14 14:41:37 -0700 |
---|---|---|
committer | Eric Anholt <[email protected]> | 2013-04-01 16:17:25 -0700 |
commit | 740350c982bd2735b9eb9063c2b91856b6f1ad31 (patch) | |
tree | 4304356b9eefd81c2ab17382a022fb2290cea684 /src/mesa/drivers/dri/r200/radeon_mipmap_tree.h | |
parent | 2f41a601455e6e0366e28b6b84871842cb4bd341 (diff) |
i965: Make the fragment shader pull constants index by dwords, not vec4s.
We want to load vec4s, since loading a vec4 instead of a dword is
basically no increased latency. But for variable indexed access, the
previous requirement of aligned vec4s for a sampler LD was hard to
implement.
Note that this change only affects those messages that use the surface
format, like sampler LDs, but not to the untyped data cache loads we've
used in other cases.
No significant performance difference on my GLSL demo with uniforms forced
to take the varying pull constants path (n=4).
NOTE: This is a candidate for the 9.1 branch.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/r200/radeon_mipmap_tree.h')
0 files changed, 0 insertions, 0 deletions