Vulkan-Guide icon indicating copy to clipboard operation
Vulkan-Guide copied to clipboard

Clarify HLSL to GLSL comparison for compute shader barriers

Open Karpov-Ruslan opened this issue 2 months ago • 1 comments

Want to clarify compute shaders barriers. To do this, I compared the language mappings to SPIR-V:

  • HLSL: https://github.com/Microsoft/DirectXShaderCompiler/blob/main/docs/SPIR-V.rst#synchronization-intrinsics
  • GLSL: https://docs.vulkan.org/glsl/latest/chapters/spirvmappings.html#_mapping_of_barriers

Karpov-Ruslan avatar Oct 30 '25 20:10 Karpov-Ruslan

@SaschaWillems Could you kindly make a review?

Karpov-Ruslan avatar Nov 07 '25 15:11 Karpov-Ruslan