diff options
author | Chia-I Wu <[email protected]> | 2013-05-29 15:43:38 +0800 |
---|---|---|
committer | Chia-I Wu <[email protected]> | 2013-06-07 11:13:15 +0800 |
commit | 4228cf37467688dc4f6a10c8d2c42c6243f789e9 (patch) | |
tree | 9daae59bbb3b813cbae041e3954ed7839596e0e8 /src/gallium/drivers/ilo/ilo_blit.c | |
parent | 94212915ee8f7bf98c8adfe248a05a382d00c191 (diff) |
ilo: switch to ilo states for shaders and resources
Define and use
struct ilo_sampler_state;
struct ilo_view_state;
struct ilo_cbuf_state;
struct ilo_resource_state;
struct ilo_global_binding;
in ilo_context.
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_blit.c')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_blit.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/gallium/drivers/ilo/ilo_blit.c b/src/gallium/drivers/ilo/ilo_blit.c index 29097e9cf59..fda30de1ead 100644 --- a/src/gallium/drivers/ilo/ilo_blit.c +++ b/src/gallium/drivers/ilo/ilo_blit.c @@ -569,12 +569,12 @@ ilo_blitter_begin(struct ilo_context *ilo, enum ilo_blitter_op op) util_blitter_save_framebuffer(ilo->blitter, &ilo->fb.state); util_blitter_save_fragment_sampler_states(ilo->blitter, - ilo->samplers[PIPE_SHADER_FRAGMENT].num_samplers, - (void **) ilo->samplers[PIPE_SHADER_FRAGMENT].samplers); + ilo->sampler[PIPE_SHADER_FRAGMENT].count, + (void **) ilo->sampler[PIPE_SHADER_FRAGMENT].states); util_blitter_save_fragment_sampler_views(ilo->blitter, - ilo->sampler_views[PIPE_SHADER_FRAGMENT].num_views, - ilo->sampler_views[PIPE_SHADER_FRAGMENT].views); + ilo->view[PIPE_SHADER_FRAGMENT].count, + ilo->view[PIPE_SHADER_FRAGMENT].states); /* disable render condition? */ break; |