r300g: Fix clear issue on r300
authorCooper Yuan <cooperyuan@gmail.com>
Tue, 1 Sep 2009 09:59:03 +0000 (17:59 +0800)
committerCooper Yuan <cooperyuan@gmail.com>
Tue, 1 Sep 2009 09:59:03 +0000 (17:59 +0800)
src/gallium/drivers/r300/r300_surface.h

index d01f0b143f51a378b9820a45ed7d638a66ceefec..f9e98b2ec9c473410146c965b884354e4446b54f 100644 (file)
@@ -73,9 +73,9 @@ static struct r300_rs_state rs_clear_state = {
 };
 
 static struct r300_rs_block r3xx_rs_block_clear_state = {
-    .ip[0] = R500_RS_SEL_S(R300_RS_SEL_K0) |
-        R500_RS_SEL_T(R300_RS_SEL_K0) |
-        R500_RS_SEL_R(R300_RS_SEL_K0) |
+    .ip[0] = R500_RS_SEL_S(R300_RS_SEL_C0) |
+        R500_RS_SEL_T(R300_RS_SEL_C0) |
+        R500_RS_SEL_R(R300_RS_SEL_C0) |
         R500_RS_SEL_Q(R300_RS_SEL_K1),
     .inst[0] = R300_RS_INST_COL_CN_WRITE,
     .count = R300_IT_COUNT(0) | R300_IC_COUNT(1) | R300_HIRES_EN,