You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears the --data-path command line option is not hooked up inside the code. I can successfully run the samples via the command line when my working dir is the home installation directory (i.e. Vulkan-Samples). However, if I cd to the executable dir and try to run from there using the --data-path option, the samples fail to load the shaders.
Looking at the code, --data-path does successfully set the external_storage_directory static variable inside platform.h but that's about it. When the shaders are loaded the code uses _external_storage_directory from std_filesystem.h to form the path which does not equal external_storage_directory from platform.h.
I am running on macOS, but I suspect this is also a problem on linux. Note this prevents me from using Xcode to run and debug.
The text was updated successfully, but these errors were encountered:
It appears the
--data-path
command line option is not hooked up inside the code. I can successfully run the samples via the command line when my working dir is the home installation directory (i.e. Vulkan-Samples). However, if I cd to the executable dir and try to run from there using the--data-path
option, the samples fail to load the shaders.Looking at the code,
--data-path
does successfully set theexternal_storage_directory
static variable inside platform.h but that's about it. When the shaders are loaded the code uses_external_storage_directory
from std_filesystem.h to form the path which does not equalexternal_storage_directory
from platform.h.I am running on macOS, but I suspect this is also a problem on linux. Note this prevents me from using Xcode to run and debug.
The text was updated successfully, but these errors were encountered: