anv: do not advertise AHW support if extension not enabled

Graphics / Mesa 3D Graphics Library / Mesa - Tapani Pälli [intel.com] - 17 January 2019 05:22 EST

Fixes following failing vk-gl-cts cases on Linux desktop:

dEQP-VK.api.external.memory.android_hardware_buffer.suballocated.buffer.info dEQP-VK.api.external.memory.android_hardware_buffer.suballocated.image.info dEQP-VK.api.external.memory.android_hardware_buffer.dedicated.image.info dEQP-VK.api.external.memory.android_hardware_buffer.dedicated.buffer.info

Fixes: 517103abf1c "anv/android: add ahardwarebuffer external memory properties"

a311aa631d anv: do not advertise AHW support if extension not enabled
src/intel/vulkan/anv_formats.c | 21 +++++++++++++++------
1 file changed, 15 insertions(+), 6 deletions(-)

Upstream: cgit.freedesktop.org


  • Share