summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--shared-core/r300_cmdbuf.c2
-rw-r--r--shared-core/r300_reg.h3
2 files changed, 5 insertions, 0 deletions
diff --git a/shared-core/r300_cmdbuf.c b/shared-core/r300_cmdbuf.c
index 1da51015..bff6378f 100644
--- a/shared-core/r300_cmdbuf.c
+++ b/shared-core/r300_cmdbuf.c
@@ -241,6 +241,8 @@ void r300_init_reg_flags(struct drm_device *dev)
ADD_RANGE(R500_US_FC_CTRL, 1);
ADD_RANGE(R500_RS_IP_0, 16);
ADD_RANGE(R500_RS_INST_0, 16);
+ ADD_RANGE(R500_RB3D_COLOR_CLEAR_VALUE_AR, 2);
+ ADD_RANGE(R500_RB3D_CONSTANT_COLOR_AR, 2);
} else {
ADD_RANGE(R300_PFS_CNTL_0, 3);
ADD_RANGE(R300_PFS_NODE_0, 4);
diff --git a/shared-core/r300_reg.h b/shared-core/r300_reg.h
index 19280383..0be01fc7 100644
--- a/shared-core/r300_reg.h
+++ b/shared-core/r300_reg.h
@@ -1639,6 +1639,9 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
#define R500_US_FC_CTRL 0x4624
#define R500_US_CODE_ADDR 0x4630
+#define R500_RB3D_COLOR_CLEAR_VALUE_AR 0x46c0
+#define R500_RB3D_CONSTANT_COLOR_AR 0x4ef8
+
#endif /* _R300_REG_H */
/* *INDENT-ON* */