radv: Actually set the cmd_buffer usage_flags.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sun, 3 Sep 2017 21:35:37 +0000 (23:35 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sun, 3 Sep 2017 22:06:40 +0000 (00:06 +0200)
commitdec7b38fe62a1db46c5150a7368d3bb3c5e45305
tree619b4c077d8dd6876115663718ea0f646715190b
parent49b428470e28ae6ab22083e43fa41abf622f3b0d
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>
src/amd/vulkan/radv_cmd_buffer.c