iris: Fix DrawTransformFeedback math when there's a buffer offset
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 22 Mar 2019 07:42:56 +0000 (00:42 -0700)
committerKenneth Graunke <kenneth@whitecape.org>
Tue, 23 Apr 2019 22:57:07 +0000 (15:57 -0700)
commit2208d5a68370e088aee8d25aff4b3f2e732b3a47
treeddbe247ceca0701e8831ca2dbaed25ee4c1af6de
parent38db20245b3f1e12a0d2535020ba61b42491c8c7
iris: Fix DrawTransformFeedback math when there's a buffer offset

We need to subtract the starting offset from the final offset before
dividing by the stride.  See src/intel/vulkan/genX_cmd_buffer.c:3142.

Not known to fix anything.
src/gallium/drivers/iris/iris_context.h
src/gallium/drivers/iris/iris_query.c
src/gallium/drivers/iris/iris_state.c