diff options
author | Luca Barbieri <[email protected]> | 2010-03-14 20:50:03 +0100 |
---|---|---|
committer | Luca Barbieri <[email protected]> | 2010-04-12 12:13:16 +0200 |
commit | 631f6f56168888290baf1ccd4f5c9c275ebcb295 (patch) | |
tree | 1b95b479b0d51cde8d475960c462eb17494ea8b5 /src/gallium/drivers/nvfx/nvfx_context.h | |
parent | f5b6cc669961176d6464d20d27d842eda1844164 (diff) |
nvfx: so->RING_3D: fragtex
Diffstat (limited to 'src/gallium/drivers/nvfx/nvfx_context.h')
-rw-r--r-- | src/gallium/drivers/nvfx/nvfx_context.h | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/gallium/drivers/nvfx/nvfx_context.h b/src/gallium/drivers/nvfx/nvfx_context.h index 2022f6e5121..7f6e5500e54 100644 --- a/src/gallium/drivers/nvfx/nvfx_context.h +++ b/src/gallium/drivers/nvfx/nvfx_context.h @@ -167,6 +167,8 @@ struct nvfx_context { unsigned vbo_bo; unsigned hw_vtxelt_nr; + uint8_t hw_samplers; + uint32_t hw_txf[8]; }; static INLINE struct nvfx_context * @@ -220,23 +222,23 @@ extern void nvfx_draw_elements_swtnl(struct pipe_context *pipe, extern void nvfx_fragprog_destroy(struct nvfx_context *, struct nvfx_fragment_program *); +/* nvfx_fragtex.c */ +extern void +nvfx_fragtex_relocate(struct nvfx_context *nvfx); + /* nv30_fragtex.c */ extern void nv30_sampler_state_init(struct pipe_context *pipe, struct nvfx_sampler_state *ps, const struct pipe_sampler_state *cso); -extern void nv30_fragtex_bind(struct nvfx_context *); -extern struct nouveau_stateobj * -nv30_fragtex_build(struct nvfx_context *nvfx, int unit); +extern void nv30_fragtex_set(struct nvfx_context *nvfx, int unit); /* nv40_fragtex.c */ extern void nv40_sampler_state_init(struct pipe_context *pipe, struct nvfx_sampler_state *ps, const struct pipe_sampler_state *cso); -extern void nv40_fragtex_bind(struct nvfx_context *); -extern struct nouveau_stateobj * -nv40_fragtex_build(struct nvfx_context *nvfx, int unit); +extern void nv40_fragtex_set(struct nvfx_context *nvfx, int unit); /* nvfx_state.c */ extern void nvfx_init_state_functions(struct nvfx_context *nvfx); |