summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nouveau
diff options
context:
space:
mode:
authorBen Skeggs <[email protected]>2008-06-13 10:58:27 +1000
committerBen Skeggs <[email protected]>2008-06-29 15:46:18 +1000
commit101305f37f7268354a50b825bcb66894e4a0b777 (patch)
tree839ec3a4755c32bd115aab5ac427775697c34c42 /src/gallium/drivers/nouveau
parent2fdeb4d5a5cc8b93bf885ba646e3a29a68c755ed (diff)
nv50: flag to indicate to winsys we want a surface for use as a zeta buffer
NVIDIA love to make life difficult.. we need different flags in PTEs for zeta.. yay.. not.
Diffstat (limited to 'src/gallium/drivers/nouveau')
-rw-r--r--src/gallium/drivers/nouveau/nouveau_winsys.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nouveau/nouveau_winsys.h b/src/gallium/drivers/nouveau/nouveau_winsys.h
index 07a41dcf4a1..13810460bfe 100644
--- a/src/gallium/drivers/nouveau/nouveau_winsys.h
+++ b/src/gallium/drivers/nouveau/nouveau_winsys.h
@@ -18,6 +18,7 @@
#define NOUVEAU_CAP_HW_IDXBUF (0xbeef0001)
#define NOUVEAU_BUFFER_USAGE_TEXTURE (1 << 16)
+#define NOUVEAU_BUFFER_USAGE_ZETA (1 << 17)
struct nouveau_winsys {
struct nouveau_context *nv;