From 3b3d2e53bc11f9b5fbda812953700b216cd8ab93 Mon Sep 17 00:00:00 2001 From: Christoph Bumiller Date: Tue, 30 Aug 2011 13:44:31 +0200 Subject: nvfx: use common NOUVEAU_RESOURCE_FLAG_LINEAR define --- src/gallium/drivers/nouveau/nouveau_winsys.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gallium/drivers/nouveau') 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) -- cgit v1.2.3