projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a6e478
)
draw: Fix LIT instruction.
author
Michal Krol
<michal@vmware.com>
Thu, 9 Apr 2009 21:17:02 +0000
(23:17 +0200)
committer
Michal Krol
<michal@vmware.com>
Thu, 9 Apr 2009 21:19:22 +0000
(23:19 +0200)
src/gallium/auxiliary/draw/draw_vs_aos_machine.c
patch
|
blob
|
history
diff --git
a/src/gallium/auxiliary/draw/draw_vs_aos_machine.c
b/src/gallium/auxiliary/draw/draw_vs_aos_machine.c
index b358bd2df4712a94a03faf45258affde7296c850..3240e3745ddc1f5d4ca358400e55364001c9c2ef 100644
(file)
--- 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;
}