summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600d.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2012-09-18 19:42:29 +0200
committerMarek Olšák <[email protected]>2012-09-22 00:31:58 +0200
commitc8b06dccff9cb89e20378664f3cbc202876a180f (patch)
tree33346783d2ab15087f82509b4d2f61644f757592 /src/gallium/drivers/r600/r600d.h
parentb6521801070d52bdd5908824e82c1ce2dde16e8e (diff)
r600g: atomize framebuffer state
Tested on RS880, Evergreen and Cayman. Reviewed-by: Alex Deucher <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600d.h')
-rw-r--r--src/gallium/drivers/r600/r600d.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/r600/r600d.h b/src/gallium/drivers/r600/r600d.h
index 0ec0586602d..cf0059a4b36 100644
--- a/src/gallium/drivers/r600/r600d.h
+++ b/src/gallium/drivers/r600/r600d.h
@@ -110,6 +110,7 @@
#define PKT3_SURFACE_BASE_UPDATE 0x73
#define SURFACE_BASE_UPDATE_DEPTH (1 << 0)
#define SURFACE_BASE_UPDATE_COLOR(x) (2 << (x))
+#define SURFACE_BASE_UPDATE_COLOR_NUM(x) (((1 << x) - 1) << 1)
#define SURFACE_BASE_UPDATE_STRMOUT(x) (0x200 << (x))
#define EVENT_TYPE_PS_PARTIAL_FLUSH 0x10