summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvc0/nvc0_resource.h
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2011-12-18 22:34:50 +0100
committerChristoph Bumiller <[email protected]>2011-12-18 22:37:45 +0100
commitf20261028843a4c5d572e0001b813f7c786a2f12 (patch)
tree99d45925127d28f1e9ff07395fe3b1ac4bfcf209 /src/gallium/drivers/nvc0/nvc0_resource.h
parent3788b4b5c942b2346bf122486b687c632ab7eac4 (diff)
nvc0: add NVC0_RESOURCE_FLAG_VIDEO
Diffstat (limited to 'src/gallium/drivers/nvc0/nvc0_resource.h')
-rw-r--r--src/gallium/drivers/nvc0/nvc0_resource.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nvc0/nvc0_resource.h b/src/gallium/drivers/nvc0/nvc0_resource.h
index 6d946c83834..41b1667b2e4 100644
--- a/src/gallium/drivers/nvc0/nvc0_resource.h
+++ b/src/gallium/drivers/nvc0/nvc0_resource.h
@@ -4,6 +4,8 @@
#include "nv50/nv50_resource.h"
+#define NVC0_RESOURCE_FLAG_VIDEO (NOUVEAU_RESOURCE_FLAG_DRV_PRIV << 0)
+
#define NVC0_TILE_SHIFT_X(m) ((((m) >> 0) & 0xf) + 6)
#define NVC0_TILE_SHIFT_Y(m) ((((m) >> 4) & 0xf) + 3)