Comments (2)
I am unsure of the historical decision as to why VK_LAYER_PATH
only modifies explicit layer paths, but I am not keen to change it due to potential side effects across the ecosystem.
Still, a VK_IMPLICIT_LAYER_PATH
and VK_ADD_IMPLICIT_LAYER_PATH
would make sense and I do not think it is impossible to add. I'm no fan of adding more environment variables (there already are too many in my opinion) but they at least close an existing hole.
As a side note, it would be helpful to have some extra debug text in VK_LOADER_DEBUG=all to indicate which types of manifests
Looking at the log, we do print "looking for layer|driver manifests" but I always 'knew' what was being searched for because the paths involved said "explicit_layer.d/Vk_layer_foo.json". Still, that is a useful thing to print.
As for why it works the way it does, it may have to do with the loader's inability to distinguish implicit from explicit layers directly, instead expecting the different layer types to be in separate paths/registries. But I have no solid evidence of that fact.
from vulkan-loader.
PR #1400 Is a quick addition to add "explicit" or "implicit" to the 'searching for layer manifests' log message.
I think it would be better to open a separate issue to track more detailed logging suggestions, in order to prevent this issue from getting cluttered up.
EDIT: I went ahead and did that - let me know if that summarizes the intent of your suggestion. Cause I believe the root problem was not knowing where the search paths came from, rather than only knowing if any given env-var was the source.
from vulkan-loader.
Related Issues (20)
- Fuzzers development HOT 9
- Build 32bit on x86_64 host, check GAS assembler fail. HOT 2
- Support overriding the header path in the .pc at configure-time HOT 4
- CMake: static lib is not installed anymore on macOS (but still built) HOT 1
- macOS M1 (cross?) build doesn't work anymore HOT 5
- loader_get_json errors on Linux Mint 21.2 HOT 9
- Need to check Fuzzing result HOT 2
- Remove -fno-strict-aliasing HOT 2
- Unsupported extensions are returned by vkEnumerateInstanceExtensionProperties HOT 7
- `unknown_ext_chain_gas_aarch64.S` does not support PAC/BTI HOT 1
- Remove vulkan-framework
- Log the origin of the manifest search paths (system, env-var, settings file, etc)
- clang-cl arguments are being passed to clang on Windows HOT 2
- VK_LOADER_DEBUG should report actual library loaded, not library attempted HOT 2
- Crash because of unload_drivers_without_physical_devices() HOT 6
- Vulkan-ICD-Loader update causes all games to crash HOT 3
- Build failing on 32 bit Windows because of some pointer-to-integer size mismatch HOT 6
- dEQP-VK.api.object_management.multithreaded_per_thread_resources.device_group crash HOT 8
- Add support for env variables inside JSON manifests HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from vulkan-loader.