iris: Make a alloc_surface_state helper
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 7 Dec 2018 19:20:39 +0000 (11:20 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:11 +0000 (10:26 -0800)
commitb2fa90706e9d6edbf7b33691b6600cab14a24740
tree764547402e3b215b9c9e2a73fa5d39303748235c
parentb358c4b92b1209fe0bbb9170f3684da0e1504d16
iris: Make a alloc_surface_state helper

This does the gtt_offset addition for us
src/gallium/drivers/iris/iris_state.c