summaryrefslogtreecommitdiff
path: root/tests/bugs/gh-4874.slang
AgeCommit message (Collapse)Author
2025-10-16Inline global constants for shader style CPU targets (#8686)Julius Ikkala
On the shader-host-callable target, test `gh-4874.slang` generates IR that contains global constants referencing global params. These need to get inlined into functions, as otherwise `introduceExplicitGlobalContext()` will fail with "no outer func at use site for global", making the test crash the compiler.
2025-01-15Inline global constants that contains opaque handles for legalization. (#6098)Yong He
* Inline global constants that contains opaque handles for legalization. * Add diagnostics on opaque type global variables. * Fix. * Fix test.