Module: Mesa Branch: gallium-mesa-7.4 Commit: 1a06f2163f56130afe340d84f636cbd9c26e3180 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=1a06f2163f56130afe340d84f636cbd9c26e3180
Author: Michal Krol <mic...@vmware.com> Date: Thu Apr 9 23:17:02 2009 +0200 draw: Fix LIT instruction. --- 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 b358bd2..3240e37 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; } _______________________________________________ mesa-commit mailing list mesa-commit@lists.freedesktop.org http://lists.freedesktop.org/mailman/listinfo/mesa-commit