i965: Delete update_renderbuffer_surface flags.
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 17 Aug 2017 07:58:43 +0000 (00:58 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Wed, 23 Aug 2017 18:55:17 +0000 (11:55 -0700)
commit081c54099c28fb480480bac2c9983df4c3ee4382
treebe69724b1ab23eb8b0f6cff295268e0022a4b003
parentf70e0f52c98e4cfbca4e8ad181d18357e81521eb
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 <topi.pohjolainen@intel.com>
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_wm_surface_state.c