summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/nouveau
diff options
context:
space:
mode:
authorYounes Manton <[email protected]>2008-12-01 22:24:19 -0500
committerYounes Manton <[email protected]>2008-12-02 16:15:12 -0500
commita6b7c0bcbebb7532b6728500a868b7c985e3f822 (patch)
treea6a2155a30a9fb708cd6f785296b2f072fdc11f3 /src/gallium/drivers/nouveau
parent1c22c0452526aaae13a2e618ec6e46327609d9c2 (diff)
nouveau: nv04-nv40 linear <-> swizzled conversion.
Diffstat (limited to 'src/gallium/drivers/nouveau')
-rw-r--r--src/gallium/drivers/nouveau/nouveau_winsys.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/nouveau/nouveau_winsys.h b/src/gallium/drivers/nouveau/nouveau_winsys.h
index a89b056244d..5535ebb6a99 100644
--- a/src/gallium/drivers/nouveau/nouveau_winsys.h
+++ b/src/gallium/drivers/nouveau/nouveau_winsys.h
@@ -17,6 +17,8 @@
#define NOUVEAU_CAP_HW_VTXBUF (0xbeef0000)
#define NOUVEAU_CAP_HW_IDXBUF (0xbeef0001)
+#define NOUVEAU_TEXTURE_USAGE_LINEAR (1 << 16)
+
#define NOUVEAU_BUFFER_USAGE_TEXTURE (1 << 16)
#define NOUVEAU_BUFFER_USAGE_ZETA (1 << 17)