This repository has been archived by the owner on Jan 29, 2025. It is now read-only.
hlsl-out miscompilation of atomic workgroup variable #2284
Labels
area: back-end
Outputs of shader conversion
kind: bug
Something isn't working
lang: HLSL
High-Level Shading Language
Milestone
Some atomic operations on workgroup-shared variables produce invalid HLSL. Similar to #2137, but without arrays.
This is using
naga v0.11.0
.With this compute shader (WGSL):
Naga generates the following HLSL:
... which, when compiled with
dxc -T cs_6_7
, produces the following error:The text was updated successfully, but these errors were encountered: