powervr-graphics / Native_SDK

C++ cross-platform 3D graphics SDK. Includes demos & helper code (resource loading etc.) to speed up development of Vulkan, OpenGL ES 2.0 & 3.x applications
https://docs.imgtec.com/sdk-documentation/html/introduction.html
MIT License
702 stars 197 forks source link

fix shader compiler path #77

Closed jjYBdx4IL closed 2 years ago

jjYBdx4IL commented 2 years ago

shader compiler not found errors on Windows 11/x64/vs2019.

LawG4 commented 2 years ago

Hi,

Thanks for taking a look at the SDK. From the looks of this you're importing glslangValidator from the Vulkan SDK. However, we actually have glslang as a submodule, and that is where the binary for glslangValidator should come from. We're performing a CMake restructure, but to ensure the build system can find the glslangValidator build we use

$<TARGET_FILE:glslangValidator>

However, in the meantime you can add the Vulkan SDK binary directory to the path as well