diff options
author | Kenneth Graunke <[email protected]> | 2018-12-07 18:13:07 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-21 10:26:12 -0800 |
commit | 3c979b0e6d9e4d7a880cebcee514238ecb6baf61 (patch) | |
tree | 1b83a4598fbbb13ae8251b3d7faaf98e683584d0 /src/gallium/drivers/iris/iris_draw.c | |
parent | 53c484ba8acdce11224e98a1d15e5619b8fcb554 (diff) |
iris: add some draw resolve hooks
Diffstat (limited to 'src/gallium/drivers/iris/iris_draw.c')
-rw-r--r-- | src/gallium/drivers/iris/iris_draw.c | 7 |
1 files changed, 4 insertions, 3 deletions
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); |