diff options
author | Dave Airlie <[email protected]> | 2011-04-24 08:33:19 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2011-04-24 08:33:19 +1000 |
commit | 77dc4c154cc6a8c3bc2369112c46f0be6ac444ae (patch) | |
tree | ec01a0f1988f7c722d395854ffa35a58a20c22e4 /src/gallium/drivers/trace/tr_context.h | |
parent | 22d5a71e4dedfc047e1a14082b7d0d287cfe910e (diff) |
r600g: fix bank swizzle calcs for scalar only operations.
In the initial code if we had nothing in the vector slots r would
never get reset to 0, so we'd fail to compile shaders, after the previous
commit this would happen for the LIT tests. When I fixed that we did a lot
of unnecessary loops through all the vector states when we had no vector
slots filled. So this patch optimises thing for the scalar only state.
This fixes the 3 LIT piglit tests on r600g.
Signed-off-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/gallium/drivers/trace/tr_context.h')
0 files changed, 0 insertions, 0 deletions