Vulkan Trainning: How to develop a simple app using C++, GLFW and Vulkan
- Shader Code in Vulkan
- represented as Bytecode format (SPIR-V)
- used with Vulkan and OpenCL
- tool GLSL to SPIR-V:
- 'glslc.exe' by Google (?)
- How to convert GLSL to SPIR-V
C:/VulkanSDK/x.x.x.x/Bin32/glslc.exe shader.vert -o vert.spv
C:/VulkanSDK/x.x.x.x/Bin32/glslc.exe shader.frag -o frag.spv