diff options
author | Luca Barbieri <[email protected]> | 2010-08-22 16:15:51 +0200 |
---|---|---|
committer | Luca Barbieri <[email protected]> | 2010-08-22 20:28:27 +0200 |
commit | df86f1e7d50e01b92e03dc25fa9e9258d2d4fa2f (patch) | |
tree | bd0c4eaa6bee0f09d091d53d150f0189c5d4a9fc /src/gallium/drivers/nvfx/nvfx_state.h | |
parent | 47537a4557c8a264f1e0eb308aff07464c81e0ca (diff) |
nvfx: refactor to support multiple fragment program versions
Diffstat (limited to 'src/gallium/drivers/nvfx/nvfx_state.h')
-rw-r--r-- | src/gallium/drivers/nvfx/nvfx_state.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/gallium/drivers/nvfx/nvfx_state.h b/src/gallium/drivers/nvfx/nvfx_state.h index 05d41cfc8dd..fd2174ed690 100644 --- a/src/gallium/drivers/nvfx/nvfx_state.h +++ b/src/gallium/drivers/nvfx/nvfx_state.h @@ -61,10 +61,6 @@ struct nvfx_fragment_program_bo { }; struct nvfx_fragment_program { - struct pipe_shader_state pipe; - struct tgsi_shader_info info; - - boolean translated; unsigned samplers; unsigned point_sprite_control; unsigned or; @@ -99,5 +95,11 @@ struct nvfx_fragment_program { struct nvfx_fragment_program_bo* fpbo; }; +struct nvfx_pipe_fragment_program { + struct pipe_shader_state pipe; + struct tgsi_shader_info info; + + struct nvfx_fragment_program* fps[1]; +}; #endif |