iris: Drop 'old_address' parameter from iris_rebind_buffer
authorKenneth Graunke <kenneth@whitecape.org>
Thu, 31 Oct 2019 16:41:49 +0000 (09:41 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Mon, 25 Nov 2019 23:54:54 +0000 (15:54 -0800)
commit4c1f81ad6220db86f49f33e034764db37523425e
tree03accfca465f969798f4de65d25e1374873169f8
parent518be59c1ab3b7bab207d01b38512056e10314a7
iris: Drop 'old_address' parameter from iris_rebind_buffer

We can just compare the VERTEX_BUFFER_STATE address field to the
current BO's address.  When calling rebind, we've already updated
the resource to the new buffer, but the state will have the old
address.
src/gallium/drivers/iris/iris_context.h
src/gallium/drivers/iris/iris_resource.c
src/gallium/drivers/iris/iris_state.c