Vulkan SDK 之 Shaders

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 

 

Reference

 1、HLSL as a First Class Vulkan Shading Language

posted on 2020-02-07 08:40  KHacker  阅读(271)  评论(0编辑  收藏  举报