check offsets for R300_ZB_ZPASS_ADDR

Submitted by:	Maciej Cencora <m.cencora@gmail.com>
MFC after:	3 days
This commit is contained in:
rnoland 2009-04-07 22:26:53 +00:00
parent c81ce72fd8
commit 2444e34b78

View File

@ -236,8 +236,11 @@ void r300_init_reg_flags(struct drm_device *dev)
ADD_RANGE_MARK(R300_ZB_DEPTHOFFSET, 1, MARK_CHECK_OFFSET); /* check offset */
ADD_RANGE(R300_ZB_DEPTHPITCH, 1);
ADD_RANGE(R300_ZB_DEPTHCLEARVALUE, 1);
ADD_RANGE(R300_ZB_ZMASK_OFFSET, 13);
ADD_RANGE(R300_ZB_ZPASS_DATA, 2); /* ZB_ZPASS_DATA, ZB_ZPASS_ADDR */
ADD_RANGE(R300_ZB_ZMASK_OFFSET, 5);
ADD_RANGE(R300_ZB_HIZ_OFFSET, 5);
ADD_RANGE(R300_ZB_ZPASS_DATA, 1);
ADD_RANGE_MARK(R300_ZB_ZPASS_ADDR, 1, MARK_CHECK_OFFSET); /* check offset */
ADD_RANGE(R300_ZB_DEPTHXY_OFFSET, 1)
ADD_RANGE(R300_TX_FILTER_0, 16);
ADD_RANGE(R300_TX_FILTER1_0, 16);