radv: apply xfb buffer offset at buffer binding time not later. (v2)
authorDave Airlie <airlied@redhat.com>
Wed, 31 Oct 2018 23:38:20 +0000 (23:38 +0000)
committerDave Airlie <airlied@redhat.com>
Fri, 2 Nov 2018 04:13:31 +0000 (04:13 +0000)
commit7f37a52a21a15fc28b2c452fff54dd871d5dfe53
treeefb2d2c93c2d14cc2eb0e78027333b31dca14fdc
parent5f312e95f8775e050ef9f8218be0eed6da1ee21d
radv: apply xfb buffer offset at buffer binding time not later. (v2)

In order to handle pause/resume properly, the offset should
be added to the buffer binding not to the begin/end paths.

v2: don't add offset to size
Fixes ext_transform_feedback-alignment* under zink

Fixes: b4eb029062 (radv: implement VK_EXT_transform_feedback)
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/vulkan/radv_cmd_buffer.c