i965: "Fix" aux offsets
authorBen Widawsky <ben@bwidawsk.net>
Wed, 16 Nov 2016 01:35:37 +0000 (17:35 -0800)
committerBen Widawsky <ben@bwidawsk.net>
Wed, 16 Nov 2016 19:24:33 +0000 (11:24 -0800)
commit0d241085f723402120b4b47e939fe77020a16d80
treee1dd91ecfe81ec8f4d0342ba2578d91494fadda5
parente50bf059b01499a54d2ff7bd4624e39e0fee9098
i965: "Fix" aux offsets

When 1 BO is used for aux data, it needs to point to the correct offset,
which will not be the BOs offset but instead an offset from the BOs
offset. Since today there are always multiple BOs for aux, this doesn't
actually change anything.

Cc: Jason Ekstrand <jason@jlekstrand.net>
Signed-off-by: Ben Widawsky <ben@bwidawsk.net>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/mesa/drivers/dri/i965/brw_wm_surface_state.c