Shaders

Shader languages

This folder contains the textual shaders for the samples. All samples come with GLSL shaders and some optionally with HLSL shaders. For samples that support both shader language this is a good way to compare GLSL to HLSL syntax when targeting SPIR-V for Vulkan.

Further information

The Vulkan Guide contains further information on how to use HLSL with Vulkan and how it compares to GLSL: