diff options
author | Corbin Simpson <[email protected]> | 2009-10-14 20:06:38 -0700 |
---|---|---|
committer | Corbin Simpson <[email protected]> | 2009-10-14 20:06:38 -0700 |
commit | a82fc97c643c4309a10cfefb108c4c0f11a2e55a (patch) | |
tree | b15a9671fa18a7fb1ef9775df300f0af74a6bb35 /src/gallium/drivers/r300/r300_emit.c | |
parent | 91bd87c06ee5427887e1284bd52424387e54397f (diff) |
r300g: Move ZTOP to its own state atom.
It may seem pointless, but this avoids a fair amount of predicted CSO pain.
Diffstat (limited to 'src/gallium/drivers/r300/r300_emit.c')
-rw-r--r-- | src/gallium/drivers/r300/r300_emit.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_emit.c b/src/gallium/drivers/r300/r300_emit.c index feffadd0ee8..2c3bba952d8 100644 --- a/src/gallium/drivers/r300/r300_emit.c +++ b/src/gallium/drivers/r300/r300_emit.c @@ -106,7 +106,7 @@ void r300_emit_dsa_state(struct r300_context* r300, OUT_CS(dsa->z_buffer_control); OUT_CS(dsa->z_stencil_control); OUT_CS(dsa->stencil_ref_mask); - OUT_CS_REG(R300_ZB_ZTOP, dsa->z_buffer_top); + OUT_CS_REG(R300_ZB_ZTOP, r300->ztop_state.z_buffer_top); if (r300screen->caps->is_r500) { /* OUT_CS_REG(R500_ZB_STENCILREFMASK_BF, dsa->stencil_ref_bf); */ } |