summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Deucher <alexdeucher@gmail.com>2010-10-24 14:27:27 -0400
committerAlex Deucher <alexdeucher@gmail.com>2010-10-24 14:27:27 -0400
commitdf92245e1fd0ead2581b675cd96ac8bcc8cb65d7 (patch)
tree89d3dfd494373019cb84845158a251085ea69698
parentfc7aa6e3bbb86eaa2f34b827629f7e82cde65ac7 (diff)
r100: add some missing bits in SE_COORD_FMT
Texture coordinates work fine with or without these, but this should be more correct I think although I don't think it matters since we aren't sending w anyway.
-rw-r--r--src/radeon_commonfuncs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/radeon_commonfuncs.c b/src/radeon_commonfuncs.c
index 95193f69..2199daf9 100644
--- a/src/radeon_commonfuncs.c
+++ b/src/radeon_commonfuncs.c
@@ -810,6 +810,8 @@ static void FUNC_NAME(RADEONInit3DEngine)(ScrnInfoPtr pScrn)
OUT_ACCEL_REG(RADEON_SE_CNTL_STATUS, RADEON_TCL_BYPASS);
OUT_ACCEL_REG(RADEON_SE_COORD_FMT,
RADEON_VTX_XY_PRE_MULT_1_OVER_W0 |
+ RADEON_VTX_ST0_PRE_MULT_1_OVER_W0 |
+ RADEON_VTX_ST1_PRE_MULT_1_OVER_W0 |
RADEON_TEX1_W_ROUTING_USE_W0);
FINISH_ACCEL();