mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 13:58:04 +02:00
r600g: some DB bug workarounds for R6xx DB flushing
Acked-by: Michel Dänzer <michel.daenzer@amd.com>
This commit is contained in:
parent
0ccc653c70
commit
e6d191bb6f
1 changed files with 7 additions and 0 deletions
|
|
@ -1610,6 +1610,13 @@ static void r600_emit_db_misc_state(struct r600_context *rctx, struct r600_atom
|
|||
S_028D0C_STENCIL_COPY_ENABLE(a->copy_stencil) |
|
||||
S_028D0C_COPY_CENTROID(1) |
|
||||
S_028D0C_COPY_SAMPLE(a->copy_sample);
|
||||
|
||||
if (rctx->b.chip_class == R600)
|
||||
db_render_override |= S_028D10_NOOP_CULL_DISABLE(1);
|
||||
|
||||
if (rctx->b.family == CHIP_RV610 || rctx->b.family == CHIP_RV630 ||
|
||||
rctx->b.family == CHIP_RV620 || rctx->b.family == CHIP_RV635)
|
||||
db_render_override |= S_028D10_FORCE_HIZ_ENABLE(V_028D10_FORCE_DISABLE);
|
||||
} else if (a->flush_depthstencil_in_place) {
|
||||
db_render_control |= S_028D0C_DEPTH_COMPRESS_DISABLE(1) |
|
||||
S_028D0C_STENCIL_COMPRESS_DISABLE(1);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue