summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nvfx/nvfx_resource.h
diff options
context:
space:
mode:
authorLuca Barbieri <[email protected]>2010-08-03 22:50:19 +0200
committerLuca Barbieri <[email protected]>2010-08-21 20:42:14 +0200
commit37fa0cf4eaf6e67876a1f6b33389f17f99b02461 (patch)
treeb6c071ed54743c5979a46e641b0ad4e28c2893e5 /src/gallium/drivers/nvfx/nvfx_resource.h
parent6a73d99a5236eeb822e9bdd26bd669638cf036c6 (diff)
nvfx: add linear flag for buffers
Diffstat (limited to 'src/gallium/drivers/nvfx/nvfx_resource.h')
-rw-r--r--src/gallium/drivers/nvfx/nvfx_resource.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nvfx/nvfx_resource.h b/src/gallium/drivers/nvfx/nvfx_resource.h
index a68c14cf3fb..d28bfab9615 100644
--- a/src/gallium/drivers/nvfx/nvfx_resource.h
+++ b/src/gallium/drivers/nvfx/nvfx_resource.h
@@ -20,6 +20,8 @@ struct nvfx_resource {
struct nouveau_bo *bo;
};
+#define NVFX_RESOURCE_FLAG_LINEAR (PIPE_RESOURCE_FLAG_DRV_PRIV << 0)
+
#define NVFX_MAX_TEXTURE_LEVELS 16
struct nvfx_miptree {