i965: store workaround_bo offset
authorLionel Landwerlin <lionel.g.landwerlin@intel.com>
Fri, 21 Feb 2020 16:12:50 +0000 (18:12 +0200)
committerMarge Bot <eric+marge@anholt.net>
Wed, 20 May 2020 15:58:22 +0000 (15:58 +0000)
commite81de67d858ce2d6bde9f4c7b06a05ec3c1f4f2b
tree18f8ee8cf9e55a3e9ad134aa952a02fddcc773a7
parent07781f0afef80c22389c4ac92dbce2cf47c9ab45
i965: store workaround_bo offset

This offset store the location where we read/write into the
workaround_bo. It will allow to select a different address later,
leaving the beginning of the buffer to some other use.

Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/3203>
src/mesa/drivers/dri/i965/brw_context.h
src/mesa/drivers/dri/i965/brw_pipe_control.c
src/mesa/drivers/dri/i965/genX_blorp_exec.c
src/mesa/drivers/dri/i965/genX_pipe_control.c