diff options
author | Ilia Mirkin <[email protected]> | 2013-08-10 18:53:15 -0400 |
---|---|---|
committer | Maarten Lankhorst <[email protected]> | 2013-08-16 09:48:26 +0200 |
commit | b3f6f127f28737d034dcf1c12a9b66b88750e93b (patch) | |
tree | 7e2d07f4bab422a15c0eb54f47297b46fbabd293 /src/gallium/drivers/nv50/nv50_resource.h | |
parent | c1a6f59b20dab380b77ad1375062f9987cad9183 (diff) |
nv50: separate video logic from noalloc
The upcoming vp3 logic will want the video layout, but allocated by the
miptree.
Signed-off-by: Ilia Mirkin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_resource.h')
-rw-r--r-- | src/gallium/drivers/nv50/nv50_resource.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv50/nv50_resource.h b/src/gallium/drivers/nv50/nv50_resource.h index c520a72cfe0..b104404076f 100644 --- a/src/gallium/drivers/nv50/nv50_resource.h +++ b/src/gallium/drivers/nv50/nv50_resource.h @@ -17,6 +17,7 @@ void nv50_screen_init_resource_functions(struct pipe_screen *pscreen); #define NV50_RESOURCE_FLAG_VIDEO (NOUVEAU_RESOURCE_FLAG_DRV_PRIV << 0) +#define NV50_RESOURCE_FLAG_NOALLOC (NOUVEAU_RESOURCE_FLAG_DRV_PRIV << 1) #define NV50_TILE_SHIFT_X(m) 6 #define NV50_TILE_SHIFT_Y(m) ((((m) >> 4) & 0xf) + 2) |