[hlsl-out] Incorrect behaviour with firstTrailingBit #1939
Labels
area: back-end
Outputs of shader conversion
kind: bug
Something isn't working
lang: HLSL
High-Level Shading Language
Milestone
This program incorrectly outputs
-1
with DirectX. I think this is because of the use offirstbitlow
, since it works correctly with tint which uses its own polyfill forfirstbitlow
- perhaps naga needs to do the same?WGSL:
HLSL:
The text was updated successfully, but these errors were encountered: