From 804f659e8c27c5aa2bb4079ed8dd822cb621cead Mon Sep 17 00:00:00 2001 From: baldurk Date: Mon, 19 Oct 2020 17:44:37 +0100 Subject: [PATCH] Only warn if an image is seemingly reported as supported * Some drivers return VK_SUCCESS even for formats that aren't supported. --- util/test/demos/vk/vk_texture_zoo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/util/test/demos/vk/vk_texture_zoo.cpp b/util/test/demos/vk/vk_texture_zoo.cpp index 7d919bc96..e5c35a9dd 100644 --- a/util/test/demos/vk/vk_texture_zoo.cpp +++ b/util/test/demos/vk/vk_texture_zoo.cpp @@ -606,7 +606,7 @@ void main() if(props1D.maxExtent.width >= texWidth || props2D.maxExtent.width >= texWidth || props3D.maxExtent.width >= texWidth) { - TEST_ERROR("Format %d can't be loaded in shader but can be a texture!", f.texFmt); + TEST_WARN("Format %d can't be loaded in shader but can be a texture!", f.texFmt); } }