diff options
author | Marek Olšák <[email protected]> | 2012-01-28 06:07:09 +0100 |
---|---|---|
committer | Marek Olšák <[email protected]> | 2012-01-31 02:17:32 +0100 |
commit | b6233f4d2e91edf28e1e5a9a82fdab341ba7dd84 (patch) | |
tree | 089e75ca78b77da54910d22f746ca8931b6104a9 | |
parent | 3d061caaed13b646ff40754f8ebe73f3d4983c5b (diff) |
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 <[email protected]>
Reviewed-by: Alex Deucher <[email protected]>
-rw-r--r-- | src/gallium/drivers/r600/evergreen_state.c | 4 | ||||
-rw-r--r-- | src/gallium/drivers/r600/r600_state.c | 4 |
2 files changed, 2 insertions, 6 deletions
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; } |