radv: it isn't an error to not support a format or driver
authorDave Airlie <airlied@redhat.com>
Tue, 14 Nov 2017 03:23:00 +0000 (13:23 +1000)
committerDave Airlie <airlied@redhat.com>
Wed, 15 Nov 2017 20:12:42 +0000 (06:12 +1000)
commit00bf875d553a6c9ab1fb76bb6c674df6504ae7e8
treebacc628a51e07e739ecf7172af911ac83ce19a4d
parent5da2b26dcb8ea14183814711e78648c4efc23ca3
radv: it isn't an error to not support a format or driver

This reverts two of the vk_error changes:

reporting unsupported format is common,
and testing non-amdgpu drivers and ignoring them is also common.

Fixes: cd64a4f70 (radv: use vk_error() everywhere an error is returned)
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_device.c
src/amd/vulkan/radv_formats.c