radv: fix binding transform feedback buffers
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 5 Mar 2019 17:09:12 +0000 (18:09 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Wed, 20 Mar 2019 08:06:40 +0000 (09:06 +0100)
commit4fa61273a8c8809a9ca0a1473b5e361aa5715ae0
tree6448586a9efc9a85a765859536807497fac20479
parentf4f0e3a3954ae2bfb545dea37b8967c3d7ce1909
radv: fix binding transform feedback buffers

The mask should be accumulated if two calls are used for
binding two buffers at different indexes. Otherwise, the
driver only accounts for the last one.

Noticed while glancing at this code.

Cc: 18.3 19.0 <mesa-stable@lists.freedesktop.org>
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
src/amd/vulkan/radv_cmd_buffer.c