diff options
author | Eric Anholt <eric@anholt.net> | 2010-10-11 13:42:11 -0700 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2010-10-11 15:26:58 -0700 |
commit | 720ed3c906b0f6d5822fe9fa442294c9828e1560 (patch) | |
tree | 64a4b43cbac252e618e81df9443286f3f4bafc65 /src/mesa/drivers/dri/intel/intel_context.c | |
parent | 317dbf4613ebf56ca14ee70c1ad6e620ad7942c2 (diff) |
i965: Expand uniform args to gen6 math to full registers to get hstride == 1.
This is a hw requirement in math args. This also is inefficient, as
we're calculating the same result 8 times, but then we've been doing
that on pre-gen6 as well. If we're doing math on uniforms, though,
we'd probably be better served by having some sort of mechanism for
precalculating those results into another uniform value to use.
Fixes 7 piglit math tests.
Diffstat (limited to 'src/mesa/drivers/dri/intel/intel_context.c')
0 files changed, 0 insertions, 0 deletions