From 4228cf37467688dc4f6a10c8d2c42c6243f789e9 Mon Sep 17 00:00:00 2001 From: Chia-I Wu Date: Wed, 29 May 2013 15:43:38 +0800 Subject: 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. --- src/gallium/drivers/ilo/ilo_blit.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/gallium/drivers/ilo/ilo_blit.c') 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; -- cgit v1.2.3