diff options
author | Kenneth Graunke <[email protected]> | 2017-08-17 00:58:43 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2017-08-23 11:55:17 -0700 |
commit | 081c54099c28fb480480bac2c9983df4c3ee4382 (patch) | |
tree | be69724b1ab23eb8b0f6cff295268e0022a4b003 /src/mesa/drivers/dri/i965/brw_context.h | |
parent | f70e0f52c98e4cfbca4e8ad181d18357e81521eb (diff) |
i965: Delete update_renderbuffer_surface flags.
We don't need yet another set of flags. The function already has access
to both brw and the unit, so it can check brw->draw_aux_buffer_disabled
itself in one line of code. The layered flag was only used to assert
that Gen4-5 doesn't do layered rendering, which isn't that useful.
Reviewed-by: Topi Pohjolainen <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_context.h')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_context.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_context.h b/src/mesa/drivers/dri/i965/brw_context.h index 932240bfc50..94c0a1b9636 100644 --- a/src/mesa/drivers/dri/i965/brw_context.h +++ b/src/mesa/drivers/dri/i965/brw_context.h @@ -635,7 +635,7 @@ struct brw_context { uint32_t (*update_renderbuffer_surface)(struct brw_context *brw, struct gl_renderbuffer *rb, - uint32_t flags, unsigned unit, + unsigned unit, uint32_t surf_index); /** |