OSDN Git Service

radv: Actually set the cmd_buffer usage_flags.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sun, 3 Sep 2017 21:35:37 +0000 (23:35 +0200)
committerAndres Gomez <agomez@igalia.com>
Wed, 6 Sep 2017 15:05:10 +0000 (18:05 +0300)
commit864a8113e5a0092480a0a0066d8cc0b88695ac7d
tree5a4223a520486f9416fd5e2028e6844a62cec2f7
parentded9b0a168764352d48f2eca6a0b00f5ee68dd0d
radv: Actually set the cmd_buffer usage_flags.

Otherwise, the simultaneous uage bit doesn't get set from the begin
info, which we need for batchchaining.

Fixes: f4e499ec791 "radv: add initial non-conformant radv vulkan driver"
Reviewed-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit dec7b38fe62a1db46c5150a7368d3bb3c5e45305)
src/amd/vulkan/radv_cmd_buffer.c