We don't set the other bits anywhere else except the other DSA states,
which are mutually-exclusive with this one.
---
 src/gallium/drivers/r600/evergreen_state.c |    4 +---
 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 91d894d..5aaf235 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 97c25f6..6e0f26c 100644
--- a/src/gallium/drivers/r600/r600_state.c
+++ b/src/gallium/drivers/r600/r600_state.c
@@ -2284,9 +2284,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;
 }
 
-- 
1.7.5.4

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to