third_party_vulkan-loader/tests/framework/data
Mark Young be7c48c0e9 loader log error if a requested layer not loaded
This should throw an error message if a requested layer didn't load.
This could happen if the JSON file is present, but only a library
exists on the system for the wrong target (like 32 vs 64-bit).

If it did fail because of being the wrong bit-type, we report an info
message only, unless it was directly requested by the application.

Modify the improper bit-depth layer loading test so that it is now 4
tests:
 - Verify bad explicit layer generates VK_ERROR_LAYER_NOT_PRESENT error
 - Verify bad implicit layer generates only an info in the loader output
 - Test case with both a bad implicit and explicit layer with INFO logging
   we should see both messages.
 - Test case with both a bad implicit and explicit layer with ERROR logging
   we should see only the explicit failure message.

Report info failure for ICD wrong bit-type as well.

Finally, fixed a small compilation warning for disabled code.
2022-01-31 14:35:07 -07:00
..
binaries loader log error if a requested layer not loaded 2022-01-31 14:35:07 -07:00
.gitignore test: Add ELF test binaries for 32 and 64 bit 2021-08-16 11:38:17 -06:00
CMakeLists.txt loader log error if a requested layer not loaded 2022-01-31 14:35:07 -07:00
stub.cpp test: Add ELF test binaries for 32 and 64 bit 2021-08-16 11:38:17 -06:00