diff options
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_shader.c')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_shader.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gallium/drivers/ilo/ilo_shader.c b/src/gallium/drivers/ilo/ilo_shader.c index 78366ba9c82..86268b1a9f0 100644 --- a/src/gallium/drivers/ilo/ilo_shader.c +++ b/src/gallium/drivers/ilo/ilo_shader.c @@ -64,8 +64,8 @@ ilo_shader_variant_init(struct ilo_shader_variant *variant, variant->u.fs.flatshade = (info->has_color_interp && ilo->rasterizer->state.flatshade); variant->u.fs.fb_height = (info->has_pos) ? - ilo->framebuffer.height : 1; - variant->u.fs.num_cbufs = ilo->framebuffer.nr_cbufs; + ilo->fb.state.height : 1; + variant->u.fs.num_cbufs = ilo->fb.state.nr_cbufs; break; default: assert(!"unknown shader type"); @@ -137,7 +137,7 @@ ilo_shader_variant_guess(struct ilo_shader_variant *variant, case PIPE_SHADER_FRAGMENT: variant->u.fs.flatshade = false; variant->u.fs.fb_height = (info->has_pos) ? - ilo->framebuffer.height : 1; + ilo->fb.state.height : 1; variant->u.fs.num_cbufs = 1; break; default: |