mirror of
https://gitee.com/openharmony/third_party_vulkan-loader
synced 2024-11-27 01:11:22 +00:00
be7c48c0e9
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. |
||
---|---|---|
.. | ||
binaries | ||
.gitignore | ||
CMakeLists.txt | ||
stub.cpp |