Do I need to write shaders directly in SPIR­-V?

No. For example, you can use existing shaders with the LunarG SDK included tool glslangValidator, which creates SPIR-V shaders from equivalent GLSL or HLSL shaders. See the question “Are Vulkan shaders written in the same way as in OpenGL or GLSL?” elsewhere in this FAQ.

Return to FAQs