Skip to content

Add macOS/iOS env-var VK_LOADER_SEARCH_ONLY_IN_BUNDLE - #2009

Open
charles-lunarg wants to merge 1 commit into
KhronosGroup:mainfrom
charles-lunarg:add_vk_loader_search_only_in_bundle
Open

Add macOS/iOS env-var VK_LOADER_SEARCH_ONLY_IN_BUNDLE#2009
charles-lunarg wants to merge 1 commit into
KhronosGroup:mainfrom
charles-lunarg:add_vk_loader_search_only_in_bundle

Conversation

@charles-lunarg

Copy link
Copy Markdown
Collaborator

Env-var that prevents the loader from looking for manifests outside of the application bundle. This is meant to allow shipping apps from worrying about system installed layers and drivers from being used.

Env-var that prevents the loader from looking for manifests outside of the application bundle.
This is meant to allow shipping apps from worrying about system installed layers and drivers
from being used.
@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Loader build queued with queue ID 78129.

@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Loader build queued with queue ID 78146.

@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Loader build # 3704 running.

@ci-tester-lunarg

Copy link
Copy Markdown

CI Vulkan-Loader build # 3704 passed.

@richard-lunarg

Copy link
Copy Markdown
Contributor

I've tested this and it works with Volk or linking directly to the loader as long as you set the environment variable before enumerating devices. I used the C function setenv(), and I think this is a good solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add env-var to disable searching outside of app bundles on macOS/iOS

3 participants