diff options
author | Michal Krol <[email protected]> | 2009-04-09 23:17:02 +0200 |
---|---|---|
committer | Michal Krol <[email protected]> | 2009-04-09 23:19:22 +0200 |
commit | 5f31890861981d431607b2361ecde04e19726f1e (patch) | |
tree | d702cb5b757affc5ec8c2bd3e5105be437367a0f /src/gallium | |
parent | 6a6e478e5555714226c6f15c63c393f5c0d74de4 (diff) |
draw: Fix LIT instruction.
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/auxiliary/draw/draw_vs_aos_machine.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/auxiliary/draw/draw_vs_aos_machine.c b/src/gallium/auxiliary/draw/draw_vs_aos_machine.c index b358bd2df47..3240e3745dd 100644 --- a/src/gallium/auxiliary/draw/draw_vs_aos_machine.c +++ b/src/gallium/auxiliary/draw/draw_vs_aos_machine.c @@ -74,7 +74,7 @@ void PIPE_CDECL aos_do_lit( struct aos_machine *machine, { result[0] = 1.0F; result[1] = in[0]; - result[2] = 1.0; + result[2] = 0.0F; result[3] = 1.0F; } else @@ -108,7 +108,7 @@ static void PIPE_CDECL do_lit_lut( struct aos_machine *machine, { result[0] = 1.0F; result[1] = in[0]; - result[2] = 1.0; + result[2] = 0.0F; result[3] = 1.0F; return; } |