summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/r600/r600_state_inlines.h
diff options
context:
space:
mode:
authorJerome Glisse <jglisse@redhat.com>2010-08-04 16:10:11 -0400
committerJerome Glisse <jglisse@redhat.com>2010-08-04 16:11:39 -0400
commit9a78e790dc4c40362b971ad5eff2505c02b73ed7 (patch)
treeecfe3f164480c6b9c69cc5ac179d4413eefb9264 /src/gallium/drivers/r600/r600_state_inlines.h
parent19bfb55fb54447b322d3aefecf6e0dbb81d8f812 (diff)
r600g: always perform texture perspective divide + fix blending
quake3 engine seems to run fine at this point (ioquake) Signed-off-by: Jerome Glisse <jglisse@redhat.com>
Diffstat (limited to 'src/gallium/drivers/r600/r600_state_inlines.h')
-rw-r--r--src/gallium/drivers/r600/r600_state_inlines.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_state_inlines.h b/src/gallium/drivers/r600/r600_state_inlines.h
index 26a5dd0432..321e75d7a1 100644
--- a/src/gallium/drivers/r600/r600_state_inlines.h
+++ b/src/gallium/drivers/r600/r600_state_inlines.h
@@ -48,7 +48,7 @@ static INLINE uint32_t r600_translate_blend_factor(int blend_fact)
{
switch (blend_fact) {
case PIPE_BLENDFACTOR_ONE:
- return V_028804_BLEND_ZERO;
+ return V_028804_BLEND_ONE;
case PIPE_BLENDFACTOR_SRC_COLOR:
return V_028804_BLEND_SRC_COLOR;
case PIPE_BLENDFACTOR_SRC_ALPHA: