diff options
author | Ben Skeggs <[email protected]> | 2008-04-04 12:39:45 +1000 |
---|---|---|
committer | Ben Skeggs <[email protected]> | 2008-04-04 12:55:57 +1000 |
commit | fbb6cc7842ec8a59b60018233275babc4deb6765 (patch) | |
tree | 99ca4056f59f2e8b4366dd47650edb0fb17e5979 /src/gallium/drivers/nouveau | |
parent | 0b57662fa6feb3d4571e4a3bc3a2243547595816 (diff) |
nouveau: in some cases don't create the buffer in local mem initially.
Diffstat (limited to 'src/gallium/drivers/nouveau')
-rw-r--r-- | src/gallium/drivers/nouveau/nouveau_winsys.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/gallium/drivers/nouveau/nouveau_winsys.h b/src/gallium/drivers/nouveau/nouveau_winsys.h index 2a5305f7ce4..fbde7adc6ad 100644 --- a/src/gallium/drivers/nouveau/nouveau_winsys.h +++ b/src/gallium/drivers/nouveau/nouveau_winsys.h @@ -13,6 +13,11 @@ #include "nouveau/nouveau_resource.h" #include "nouveau/nouveau_pushbuf.h" +#define NOUVEAU_CAP_HW_VTXBUF (0xbeef0000) +#define NOUVEAU_CAP_HW_IDXBUF (0xbeef0001) + +#define NOUVEAU_BUFFER_USAGE_TEXTURE (1 << 16) + struct nouveau_winsys { struct nouveau_context *nv; |