summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r300/r300_defines.h
diff options
context:
space:
mode:
authorMarek Olšák <[email protected]>2013-01-14 00:27:28 +0100
committerMarek Olšák <[email protected]>2013-01-14 03:12:01 +0100
commit5330c5a248aa9dbb45cfde55d5488d982cedff7f (patch)
treeb4c15112d70e8d5d65429e99a3f79dfb70b9a9f7 /src/gallium/drivers/r300/r300_defines.h
parente102b665e60f7a8d2bb4ef2c5d313e22105ae22f (diff)
r300g: fix MSAA resolve to an untiled texture
RB3D_DEBUG_CTL doesn't help, so I resolve to a tiled temporary texture and then blitting it to the destination one, which we also do in other situations.
Diffstat (limited to 'src/gallium/drivers/r300/r300_defines.h')
-rw-r--r--src/gallium/drivers/r300/r300_defines.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/r300/r300_defines.h b/src/gallium/drivers/r300/r300_defines.h
index 30e9befad21..a2a1b791e67 100644
--- a/src/gallium/drivers/r300/r300_defines.h
+++ b/src/gallium/drivers/r300/r300_defines.h
@@ -28,7 +28,8 @@
#define R300_MAX_TEXTURE_LEVELS 13
#define R300_MAX_DRAW_VBO_SIZE (1024 * 1024)
-#define R300_RESOURCE_FLAG_TRANSFER PIPE_RESOURCE_FLAG_DRV_PRIV
+#define R300_RESOURCE_FLAG_TRANSFER (PIPE_RESOURCE_FLAG_DRV_PRIV << 0)
+#define R300_RESOURCE_FORCE_MICROTILING (PIPE_RESOURCE_FLAG_DRV_PRIV << 1)
#define R300_INVALID_FORMAT 0xffff