Closed LDeakin closed 2 years ago
GetIncludeCode currently invalidates the shader source if an include is not found (see here). This pull request adds an option to disable the expansion of includes so that the shader compiler can resolve includes itself.
GetIncludeCode
Example options Expand includes: false External shader compiler: %VULKAN_SDK%\Bin\glslc.exe Shader compiler arguments: -I "/path/to/shader/includes"
Thanks for your contribution! The feature is included in version 0.11.154
GetIncludeCode
currently invalidates the shader source if an include is not found (see here). This pull request adds an option to disable the expansion of includes so that the shader compiler can resolve includes itself.Example options Expand includes: false External shader compiler: %VULKAN_SDK%\Bin\glslc.exe Shader compiler arguments: -I "/path/to/shader/includes"