summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/radeonsi/r600_resource.h
diff options
context:
space:
mode:
authorMichel Dänzer <[email protected]>2012-11-13 17:57:07 +0100
committerMichel Dänzer <[email protected]>2012-11-28 13:35:17 +0100
commit20f651d003e344e82503af5ce77af8d9f945cfda (patch)
tree063e5b5d02230874b431bf7cfe70b4d78267c4a4 /src/gallium/drivers/radeonsi/r600_resource.h
parent1a616c10095473538f4d26d32afb4de95263a7e5 (diff)
radeonsi: Depth/stencil fixes.
Adapted from r600g commit 018e3f75d69490598d61059ece56d379867f3995. Signed-off-by: Michel Dänzer <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeonsi/r600_resource.h')
-rw-r--r--src/gallium/drivers/radeonsi/r600_resource.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/radeonsi/r600_resource.h b/src/gallium/drivers/radeonsi/r600_resource.h
index be11b5d21c6..8b44034bd53 100644
--- a/src/gallium/drivers/radeonsi/r600_resource.h
+++ b/src/gallium/drivers/radeonsi/r600_resource.h
@@ -26,7 +26,8 @@
#include "util/u_transfer.h"
/* flag to indicate a resource is to be used as a transfer so should not be tiled */
-#define R600_RESOURCE_FLAG_TRANSFER PIPE_RESOURCE_FLAG_DRV_PRIV
+#define R600_RESOURCE_FLAG_TRANSFER PIPE_RESOURCE_FLAG_DRV_PRIV
+#define R600_RESOURCE_FLAG_FLUSHED_DEPTH (PIPE_RESOURCE_FLAG_DRV_PRIV << 1)
/* Texture transfer. */
struct r600_transfer {