summaryrefslogtreecommitdiffstats
path: root/tests/benchmarks
diff options
context:
space:
mode:
authorNicolas Guichard <nicolas.guichard@kdab.com>2020-02-18 17:16:14 +0100
committerNicolas Guichard <nicolas.guichard@kdab.com>2020-02-20 08:00:14 +0100
commit39994e0705f11afc45e20872b95fb3a6e684c913 (patch)
treee3e28111dd7bf2d4121e5111d791422213583a71 /tests/benchmarks
parent8cf4ce0fea65db841bb5345169401aebbe0a5587 (diff)
QShaderGenerator: Don't crash when a node has multiple outputs
It was already possible to declare a node prototype with multiple outputs, but trying to assign to all those outputs was not possible and instead resulted in a crash. It is now possible to declare nodes like this without crashing: "SEPERATE_XYZ": { "inputs": ["vector"], "outputs": ["x", "y", "z"], "rules": [ { "substitution": "float $x = $vector.x; float $y = $vector.y; float $z = $vector.z;" } ] } Change-Id: I748e77e84c9120dc688c573eee33dc13c6bfbace Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'tests/benchmarks')
0 files changed, 0 insertions, 0 deletions