Naga emits wrong HLSL for atomicMax() on u64 buffer #5893
Labels
area: naga back-end
Outputs of naga shader conversion
lang: HLSL
D3D Shading Language
naga
Shader Translator
type: bug
Something isn't working
Description
Naga should be emitting
buffer.InterlockedMax64
, notbuffer.InterlockedMax
.This only applies to
RWByteAddressBuffer
according to the spec.This issue also applies to the other atomic functions.
Repro steps
Platform
Naga rev
82210e1c
The text was updated successfully, but these errors were encountered: