-
Notifications
You must be signed in to change notification settings - Fork 181
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vkconfig layer directory wrong for 32-bit programs with 64-bit windows #1350
Comments
Hi, it's true that I didn't even considered 32 bits Vulkan applications with Vulkan Configurator... I am guessing that yes currently you need to add the custom path when you are using 32 bit Vulkan applications and remove it when you are using 64 bit Vulkan applications. Sure, it's clunky... 32 bits applications are quite a corner case these days so we are trying to evaluate how to prioritize this. |
In understand. I am "porting" an application from 32 bit world, so this sort of came up. The custom path workaround exists, and my final target will most probably end up to be 64 bit. The only real problem for me was understanding the issue originally. My current favorite idea for fixing this would be having optional "overrider_paths32", which would be used for 32 bit apps in case it exists. |
Hi, 32 bit layers still don't work with vkconfig. Right now I do it manually: Tested with SDK 1.3.250 today on Windows, and vkconfig creates Following Regeys: To make it work with 32bit layers optionally installed by SDK, I had to
Unfortunately, to disable layers added this way, you have to rename added regkey (the one pointing to Any change to enabled layers in vkconfig means you also have to copy VkLayer_override.json to VkLayer_override32.json and change path in it again. Above steps seems to be easily implementable in vkconfig. Custom layers working may be a little bit trickier to implement without filename or folder structure convention.
|
32 bit is officially not supported anymore by the Vulkan SDK so closing. |
I am very new to Vulkan, so my apologies if I am missing something.
When testing I noticed that Vulkan configurator creates C:\Users\MyName\AppData\Local\LunarG\vkconfig\override\VkLayer_override.json which contains the override_paths section.
By default it seems to point on to the \VulkanSDK\1.2.162.1\Bin directory, which does not work if I have a 32bit Vulkan program.
I can use the Custom Layer Paths setting and change the path to Bin32, but of course then it won't work for 64bit binaries.
Am I missing some way to make both work?
The text was updated successfully, but these errors were encountered: