i965: Add a "write" parameter to intel_bufferobj_buffer.
authorKenneth Graunke <kenneth@whitecape.org>
Wed, 7 Jun 2017 20:26:58 +0000 (13:26 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 13 Jul 2017 23:58:17 +0000 (16:58 -0700)
commitf47612dafb3479c6e1ea90801ab17fe1e8eac778
treee9fd76c2b73fb8fd48afb3beac7ae0e924bbf96b
parent9a9c7e452bc35d0bea1808bcc4caf936a35749cb
i965: Add a "write" parameter to intel_bufferobj_buffer.

This doesn't do anything yet, but soon we'll want to know whether an
access to a buffer section may write that data, or simply reads it.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
src/mesa/drivers/dri/i965/brw_compute.c
src/mesa/drivers/dri/i965/brw_draw.c
src/mesa/drivers/dri/i965/brw_draw_upload.c
src/mesa/drivers/dri/i965/brw_wm_surface_state.c
src/mesa/drivers/dri/i965/genX_state_upload.c
src/mesa/drivers/dri/i965/intel_buffer_objects.c
src/mesa/drivers/dri/i965/intel_buffer_objects.h
src/mesa/drivers/dri/i965/intel_pixel_draw.c
src/mesa/drivers/dri/i965/intel_tex.c