Compiling GLSL Shaders into SPIR-V

1、SPIR-V 是vulkan的底层shader语言。GLSL可以通过相关接口转换为SPIR-V。

Creating Vulkan Shader Modules

The Microsoft open source DXC compiler now supports Vulkan and DX12 backend code generation.

 DXC, Microsoft’s open source HLSL compiler 

Vulkan SDK 之 Shaders-LMLPHP

Reference

1、HLSL as a First Class Vulkan Shading Language

05-06 20:57