turnip : Fix wrong offset calculation for xfb buffer.
authorHyunjun Ko <zzoon@igalia.com>
Mon, 6 Apr 2020 05:14:01 +0000 (05:14 +0000)
committerMarge Bot <eric+marge@anholt.net>
Thu, 23 Apr 2020 01:14:19 +0000 (01:14 +0000)
commite892733b80fb2ecf4f48787116e47b8230fcf951
tree3480621b9cc52d4ce1d9d6809d747baf20cd1e14
parente34b0d65f9715b9376408a769e2005bb579128f8
turnip : Fix wrong offset calculation for xfb buffer.

In vulkan, offsets are already provided through the api
vkCmdBindTransformFeedbackBuffersEXT, so this is duplicated
calculation.

Fixes : 9ff1959ca5d24afe48bec20edf7e3d059d254134

Signed-off-by: Hyunjun Ko <zzoon@igalia.com>
Reviewed-by: Brian Ho <brian@brkho.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4604>
src/freedreno/vulkan/tu_cmd_buffer.c