Eric's Blog


- Game - Engine - Tool - Math -


Tag: Vulkan


  1. Translate GLSL to SPIR-V for Vulkan at Runtime

    Table of Contents Get Glslang Libs Use Glslang Build Glslang Libs As I’m porting my game engine from OpenGL to Vulkan, I encountered the need of translating exisiting glsl shaders (with changes for Vulkan) to spir-v. The recommanded way is to use offline toolchain glslangValidator, provided in Vulkan…

    Vulkan