mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 13:28:06 +02:00
Guess another unknown register used for R300 pacification.
This commit is contained in:
parent
708d836e6b
commit
0c750ca98d
3 changed files with 7 additions and 3 deletions
|
|
@ -165,7 +165,7 @@ static void r300ClearBuffer(r300ContextPtr r300, int flags, int buffer)
|
|||
e32(0x0000000a);
|
||||
|
||||
|
||||
reg_start(0x4f18,0);
|
||||
reg_start(R300_RB3D_ZCACHE_CTLSTAT,0);
|
||||
e32(0x00000003);
|
||||
cp_wait(rmesa, R300_WAIT_3D | R300_WAIT_3D_CLEAN);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -1395,6 +1395,10 @@ USE OR OTHER DEALINGS IN THE SOFTWARE.
|
|||
|
||||
/* gap */
|
||||
|
||||
#define R300_RB3D_ZCACHE_CTLSTAT 0x4F18 /* GUESS */
|
||||
|
||||
/* gap */
|
||||
|
||||
#define R300_RB3D_DEPTHOFFSET 0x4F20
|
||||
#define R300_RB3D_DEPTHPITCH 0x4F24
|
||||
# define R300_DEPTHPITCH_MASK 0x00001FF8 /* GUESS */
|
||||
|
|
|
|||
|
|
@ -346,7 +346,7 @@ GLboolean r300_run_vb_render(GLcontext *ctx,
|
|||
reg_start(R300_RB3D_DSTCACHE_CTLSTAT,0);
|
||||
e32(0x0000000a);
|
||||
|
||||
reg_start(0x4f18,0);
|
||||
reg_start(R300_RB3D_ZCACHE_CTLSTAT,0);
|
||||
e32(0x00000003);
|
||||
|
||||
r300EmitState(rmesa);
|
||||
|
|
@ -362,7 +362,7 @@ GLboolean r300_run_vb_render(GLcontext *ctx,
|
|||
reg_start(R300_RB3D_DSTCACHE_CTLSTAT,0);
|
||||
e32(0x0000000a/*0x2*/);
|
||||
|
||||
reg_start(0x4f18,0);
|
||||
reg_start(R300_RB3D_ZCACHE_CTLSTAT,0);
|
||||
e32(0x00000003/*0x1*/);
|
||||
|
||||
#ifdef USER_BUFFERS
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue