diff options
author | Luca Barbieri <[email protected]> | 2010-08-03 22:50:19 +0200 |
---|---|---|
committer | Luca Barbieri <[email protected]> | 2010-08-21 20:42:14 +0200 |
commit | 37fa0cf4eaf6e67876a1f6b33389f17f99b02461 (patch) | |
tree | b6c071ed54743c5979a46e641b0ad4e28c2893e5 /src/gallium/drivers/nvfx/nvfx_resource.h | |
parent | 6a73d99a5236eeb822e9bdd26bd669638cf036c6 (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.h | 2 |
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 { |