From: Marek Olšák Date: Sat, 28 Jan 2012 05:07:09 +0000 (+0100) Subject: r600g: don't use register mask for DB_RENDER_CONTROL X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=b6233f4d2e91edf28e1e5a9a82fdab341ba7dd84;p=mesa.git r600g: don't use register mask for DB_RENDER_CONTROL We don't set the other bits anywhere else except the other DSA states, which are mutually-exclusive with this one. Reviewed-by: Dave Airlie Reviewed-by: Alex Deucher --- diff --git a/src/gallium/drivers/r600/evergreen_state.c b/src/gallium/drivers/r600/evergreen_state.c index 91d894da2a7..5aaf235fa4c 100644 --- a/src/gallium/drivers/r600/evergreen_state.c +++ b/src/gallium/drivers/r600/evergreen_state.c @@ -2492,9 +2492,7 @@ void *evergreen_create_db_flush_dsa(struct r600_pipe_context *rctx) S_028000_DEPTH_COPY_ENABLE(1) | S_028000_STENCIL_COPY_ENABLE(1) | S_028000_COPY_CENTROID(1), - S_028000_DEPTH_COPY_ENABLE(1) | - S_028000_STENCIL_COPY_ENABLE(1) | - S_028000_COPY_CENTROID(1), NULL, 0); + 0xFFFFFFFF, NULL, 0); return rstate; } diff --git a/src/gallium/drivers/r600/r600_state.c b/src/gallium/drivers/r600/r600_state.c index 73d1c33c491..d786a2c9b9b 100644 --- a/src/gallium/drivers/r600/r600_state.c +++ b/src/gallium/drivers/r600/r600_state.c @@ -2295,9 +2295,7 @@ void *r600_create_db_flush_dsa(struct r600_pipe_context *rctx) S_028D0C_DEPTH_COPY_ENABLE(1) | S_028D0C_STENCIL_COPY_ENABLE(1) | S_028D0C_COPY_CENTROID(1), - S_028D0C_DEPTH_COPY_ENABLE(1) | - S_028D0C_STENCIL_COPY_ENABLE(1) | - S_028D0C_COPY_CENTROID(1), NULL, 0); + 0xFFFFFFFF, NULL, 0); return rstate; }