Mesa (master): draw: Fix LIT instruction.
MichaŠKról
michal at kemper.freedesktop.org
Thu Apr 9 21:19:31 UTC 2009
Module: Mesa
Branch: master
Commit: 5f31890861981d431607b2361ecde04e19726f1e
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=5f31890861981d431607b2361ecde04e19726f1e
Author: Michal Krol <michal at 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;
}
More information about the mesa-commit
mailing list