Naga drops HLSL row_major
qualifier for global matrices
#1836
Labels
area: back-end
Outputs of shader conversion
kind: bug
Something isn't working
lang: HLSL
High-Level Shading Language
Naga fails to emit the
row_major
qualifier in HLSLcbuffer
declarations generated for global variables of typemat4x4<f32>
.The following WGSL input:
produces the following HLSL output:
Instead, it should produce:
This was never noticed before because WGSL used to require that all globals have
struct
types, and Naga does include therow_major
qualifier when emitting astruct
declaration.The text was updated successfully, but these errors were encountered: