WGSL backend writes matNxM<f64>
construction expressions incorrectly.
#4681
Labels
area: naga back-end
Outputs of naga shader conversion
lang: WGSL
WebGPU Shading Language
naga
Shader Translator
type: bug
Something isn't working
The Naga WGSL backend writes incorrect WGSL for
Compose
expressions building matrices whose elements aref64
values.To reproduce:
Note that the construction expression tries to build a
mat4x4<f32>
. The IR's types arena is:There is no
mat4x4<f32>
type in that arena for the NagaCompose
expression to refer to, so the WGSL backend must be writing incorrect code for that expression.The text was updated successfully, but these errors were encountered: