summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorNicolas Guichard <nicolas.guichard@kdab.com>2020-02-18 17:40:04 +0100
committerNicolas Guichard <nicolas.guichard@kdab.com>2020-02-20 08:00:20 +0100
commitf9086ebd0198c53e8a811af47e0ff0c84d78eb30 (patch)
treeeb0a6a8452296fa0151785cf8defa0259ae08aee /src/corelib
parent39994e0705f11afc45e20872b95fb3a6e684c913 (diff)
QShaderGenerator: Allow more expressions in input nodes
Currently QShaderGenerator will crash when encountering some expressions in input nodes. For example, this node prototype would make it crash: "VERTEX_COLOR": { "outputs": ["color", "alpha"], "rules": [ "headerSnippets": ["in vec4 vertexColor;"], "substitution": "vec3 $color = vertexColor.rgb; float $alpha = vertexColor.a;" ] } Change-Id: I37abb8099d376843a4cb13228140467dc1b8f60c Reviewed-by: Paul Lemire <paul.lemire@kdab.com>
Diffstat (limited to 'src/corelib')
0 files changed, 0 insertions, 0 deletions