summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nouveau
diff options
context:
space:
mode:
authorChristoph Bumiller <[email protected]>2011-08-30 13:44:31 +0200
committerChristoph Bumiller <[email protected]>2011-08-30 13:55:08 +0200
commit3b3d2e53bc11f9b5fbda812953700b216cd8ab93 (patch)
tree9f0ee3c711dc5b44d1c7f4b5ec6463a324b1ba4c /src/gallium/drivers/nouveau
parent0a3f0ff2645d03d5f572cc26932595b8df400505 (diff)
nvfx: use common NOUVEAU_RESOURCE_FLAG_LINEAR define
Diffstat (limited to 'src/gallium/drivers/nouveau')
-rw-r--r--src/gallium/drivers/nouveau/nouveau_winsys.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/drivers/nouveau/nouveau_winsys.h b/src/gallium/drivers/nouveau/nouveau_winsys.h
index 37416f78bc1..553a5e632df 100644
--- a/src/gallium/drivers/nouveau/nouveau_winsys.h
+++ b/src/gallium/drivers/nouveau/nouveau_winsys.h
@@ -17,7 +17,8 @@
#define NV04_PFIFO_MAX_PACKET_LEN 2047
#endif
-#define NOUVEAU_RESOURCE_FLAG_LINEAR (PIPE_RESOURCE_FLAG_DRV_PRIV << 0)
+#define NOUVEAU_RESOURCE_FLAG_LINEAR (PIPE_RESOURCE_FLAG_DRV_PRIV << 0)
+#define NOUVEAU_RESOURCE_FLAG_DRV_PRIV (PIPE_RESOURCE_FLAG_DRV_PRIV << 1)
static INLINE uint32_t
nouveau_screen_transfer_flags(unsigned pipe)