summaryrefslogtreecommitdiffstats
path: root/tests/bugs/specialize-function-array-args.slang.expected.txt
Commit message (Collapse)AuthorAge
* Disable specializing function calls if they have a struct param, that ↵jsmall-nvidia2020-07-17
contains an array (#1448) * This code is disabled, it was part of the optimization `Specialize function calls involving array arguments. (#1389)` on github. It is disabled here because it causes a problem when a struct is passed to a function that contains a structured buffer *and* an array. It is specialized on the struct type, and so those types become parameters to the function. If the struct contains a structured buffer this is a problem on GLSL/VK based targets because currently structured buffers cannot be function parameters. The fix for now is to just disable this optimization. * Fix typo in name of test expected values.