radv: fix begin/end transform feedback with 0 counter buffers.
If the user gives 0 counterBuffers then the driver should still enable transform feedback on all targets. This changes the driver to always enable xfb, and use counter buffers where one is defined for the target in question. Fixes: b4eb0290 (radv: implement VK_EXT_transform_feedback) Reviewed-by: Samuel Pitoiset <firstname.lastname@example.org>
Showing with 16 additions and 12 deletions