summaryrefslogtreecommitdiff
path: root/tests/cross-compile/glsl-empty-struct-param-field.slang
AgeCommit message (Collapse)Author
2024-06-08SPIRV `Block` decoration fixes. (#4303)Yong He
* SPIRV `Block` decoration fixes. - SPIRV does not allow duplicate `Block` decorations. So we shouldn't be generating them. - Also fixes duplication of OpName. - SPIRV and HLSL do not allow ConstantBuffer with trailing unsized arrays. Added a check in the front-end against such code. * Convert failing cross-compile tests to filecheck. --------- Co-authored-by: Jay Kwak <82421531+jkwak-work@users.noreply.github.com>
2019-01-28Fix type legalization to correctly handle empty struct fields.Yong He