diff options
author | Xavier Chantry <[email protected]> | 2010-10-15 15:53:13 +0200 |
---|---|---|
committer | Christoph Bumiller <[email protected]> | 2010-10-15 15:54:02 +0200 |
commit | 9c439e3c7af7fd1704d44e3ba1a013de7febde37 (patch) | |
tree | 6a0b7eb8239f99eda7f2dee3989ca14cac882666 /src/gallium/drivers/nv50/nv50_context.h | |
parent | ac98519c4eed0daf770a9ba380056978e4420352 (diff) |
nv50: apply layout_mask to tile_flags
The tile_flags now store more than just nv50 page table entry bits.
Diffstat (limited to 'src/gallium/drivers/nv50/nv50_context.h')
-rw-r--r-- | src/gallium/drivers/nv50/nv50_context.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/gallium/drivers/nv50/nv50_context.h b/src/gallium/drivers/nv50/nv50_context.h index ac69c7848e9..bf6a577188b 100644 --- a/src/gallium/drivers/nv50/nv50_context.h +++ b/src/gallium/drivers/nv50/nv50_context.h @@ -26,6 +26,9 @@ #define NOUVEAU_MSG(fmt, args...) \ fprintf(stderr, "nouveau: "fmt, ##args); +#define nouveau_bo_tile_layout(nvbo) \ + ((nvbo)->tile_flags & NOUVEAU_BO_TILE_LAYOUT_MASK) + /* Constant buffer assignment */ #define NV50_CB_PMISC 0 #define NV50_CB_PVP 1 |