aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_resource.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-07-15 00:02:42 +0200
committerMarek Olšák <[email protected]>2012-07-17 21:22:14 +0200
commit018e3f75d69490598d61059ece56d379867f3995 (patch)
treeb764ce9a5091bc4eae7c92a38d2072ebe9243f92 /src/gallium/drivers/r600/r600_resource.h
parent761131ce4591e5f55f38d13f2c4d2194bc9cb0fd (diff)
r600g: fix all failing depth-stencil tests for evergreen
Diffstat (limited to 'src/gallium/drivers/r600/r600_resource.h')
-rw-r--r--src/gallium/drivers/r600/r600_resource.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_resource.h b/src/gallium/drivers/r600/r600_resource.h
index a7570c7deec..0046ce78b83 100644
--- a/src/gallium/drivers/r600/r600_resource.h
+++ b/src/gallium/drivers/r600/r600_resource.h
@@ -26,7 +26,8 @@
#include "r600.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)
struct r600_transfer {
struct pipe_transfer transfer;