diff options
author | Nicolai Hähnle <[email protected]> | 2009-07-12 02:03:25 +0000 |
---|---|---|
committer | Maciej Cencora <[email protected]> | 2009-07-13 19:28:15 +0200 |
commit | f06910f6c34f199dc187bd69ff1f6889ba498217 (patch) | |
tree | 1ace78df82acea69e353ff1c1ae560b8ca2a41de /src/mesa/state_tracker/st_atom_sampler.c | |
parent | 3f5382819e31071c2af6cb39c1ca09bf3243f83f (diff) |
r300: Fix fogcoord rewriting
We only care about the actual fogcoord itself now, reducing the rewriting
done for the vertex program.
The rewriting of source operand swizzles in the fragment program takes
care that fogcoord.yzw = 001.
This should fix fogcoord rewriting entirely, which had been horribly
broken in the face of dot-product instructions, and just broken (though
not horribly so) in the face of almost every other instruction (the W
component would be incorrect for most arithmetic instructions).
Signed-off-by: Nicolai Hähnle <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_atom_sampler.c')
0 files changed, 0 insertions, 0 deletions