diff options
author | Luca Barbieri <[email protected]> | 2010-02-23 11:11:52 +0100 |
---|---|---|
committer | Luca Barbieri <[email protected]> | 2010-04-12 12:13:16 +0200 |
commit | 188b579e30cb7f8d7eef5cc9eb5913d9d43a3038 (patch) | |
tree | 9896cc8a127da99fd289c81d246395d78c8f203b /src/gallium/drivers/nvfx/nvfx_state.h | |
parent | d75f99ab0c98b36028d7e80b8cf6906b672e571f (diff) |
nouveau: add state buffers, lightweight replacement for state objects
Just a dumb buffer, allowed by the RING_3D/fixed subchannel binding and
no support for relocations.
This is *much* faster than state objects.
Diffstat (limited to 'src/gallium/drivers/nvfx/nvfx_state.h')
-rw-r--r-- | src/gallium/drivers/nvfx/nvfx_state.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/nvfx/nvfx_state.h b/src/gallium/drivers/nvfx/nvfx_state.h index 1f612ea95f5..8f5b33fcffb 100644 --- a/src/gallium/drivers/nvfx/nvfx_state.h +++ b/src/gallium/drivers/nvfx/nvfx_state.h @@ -3,6 +3,7 @@ #include "pipe/p_state.h" #include "tgsi/tgsi_scan.h" +#include "nouveau/nouveau_statebuf.h" struct nvfx_vertex_program_exec { uint32_t data[4]; |