[msl-out] Handle struct padding in global variable initialiser #1974
Labels
area: back-end
Outputs of shader conversion
kind: bug
Something isn't working
lang: Metal
Metal Shading Language
Milestone
WGSL:
MSL:
The initialiser for
const_Struct_1_
ignores the padding bytes ofStruct_1_
.The metal compiler complains with
The text was updated successfully, but these errors were encountered: