summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvfx/nvfx_resource.h
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/nvfx/nvfx_resource.h
parent0a3f0ff2645d03d5f572cc26932595b8df400505 (diff)
nvfx: use common NOUVEAU_RESOURCE_FLAG_LINEAR define
Diffstat (limited to 'src/gallium/drivers/nvfx/nvfx_resource.h')
-rw-r--r--src/gallium/drivers/nvfx/nvfx_resource.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gallium/drivers/nvfx/nvfx_resource.h b/src/gallium/drivers/nvfx/nvfx_resource.h
index 070f8979442..6e0493fea4c 100644
--- a/src/gallium/drivers/nvfx/nvfx_resource.h
+++ b/src/gallium/drivers/nvfx/nvfx_resource.h
@@ -23,8 +23,7 @@ struct nvfx_resource *nvfx_resource(struct pipe_resource *resource)
return (struct nvfx_resource *)resource;
}
-#define NVFX_RESOURCE_FLAG_LINEAR (PIPE_RESOURCE_FLAG_DRV_PRIV << 0)
-#define NVFX_RESOURCE_FLAG_USER (PIPE_RESOURCE_FLAG_DRV_PRIV << 1)
+#define NVFX_RESOURCE_FLAG_USER (NOUVEAU_RESOURCE_FLAG_DRV_PRIV << 0)
/* is resource mapped into the GPU's address space (i.e. VRAM or GART) ? */
static INLINE boolean