From 3c979b0e6d9e4d7a880cebcee514238ecb6baf61 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Fri, 7 Dec 2018 18:13:07 -0800 Subject: iris: add some draw resolve hooks --- src/gallium/drivers/iris/iris_draw.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/gallium/drivers/iris/iris_draw.c') diff --git a/src/gallium/drivers/iris/iris_draw.c b/src/gallium/drivers/iris/iris_draw.c index 19df5482f5e..5ccef66ea91 100644 --- a/src/gallium/drivers/iris/iris_draw.c +++ b/src/gallium/drivers/iris/iris_draw.c @@ -99,12 +99,13 @@ iris_draw_vbo(struct pipe_context *ctx, const struct pipe_draw_info *info) iris_update_compiled_shaders(ice); + bool draw_aux_buffer_disabled[BRW_MAX_DRAW_BUFFERS] = { }; for (gl_shader_stage stage = 0; stage < MESA_SHADER_COMPUTE; stage++) { if (ice->shaders.prog[stage]) - iris_predraw_resolve_inputs(batch, &ice->state.shaders[stage]); + iris_predraw_resolve_inputs(ice,batch, &ice->state.shaders[stage], + draw_aux_buffer_disabled); } - - iris_predraw_resolve_framebuffer(ice, batch); + iris_predraw_resolve_framebuffer(ice, batch, draw_aux_buffer_disabled); iris_binder_reserve_3d(ice); -- cgit v1.2.3