radv: Don't use local BOs when allocating with export options.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sun, 10 Dec 2017 14:34:54 +0000 (15:34 +0100)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sun, 10 Dec 2017 22:47:23 +0000 (23:47 +0100)
commit6469669bebce4e6dba928accec735bca457a6a2c
tree0cff952fe3f5248354b68c204a555143c95edf9e
parentb926da241a4221376afe195c476f6a05621e5c75
radv: Don't use local BOs when allocating with export options.

If the app does not plan to put a buffer or image in it
(why? But it is allowed and CTS does it), they do not need to
allocate it with the deciate allocation struct.

Fixes: a639d40f133 "radv: add support for local bos. (v3)"
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_device.c