draw: Fix LIT instruction.
authorMichal Krol <michal@vmware.com>
Thu, 9 Apr 2009 21:17:02 +0000 (23:17 +0200)
committerMichal Krol <michal@vmware.com>
Thu, 9 Apr 2009 21:19:22 +0000 (23:19 +0200)
src/gallium/auxiliary/draw/draw_vs_aos_machine.c

index b358bd2df4712a94a03faf45258affde7296c850..3240e3745ddc1f5d4ca358400e55364001c9c2ef 100644 (file)
@@ -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;
       }