Closed djeis97 closed 6 years ago
As a side note, this breaks with the vertex stage as well (haven't tested any others).
ooh nasty. thanks for the bug report!
Patreons have just funded the fixing of this big as I'be fixed it down the coffee shop :p
I'll push these fix when I'm home as I don't trust public wifi
When an external function returns multiple values but the call site doesn't explicitly use
multiple-value-bind
to capture them varjo appears to be storing these extra values in generated out-variables for the stage as a whole, however it's not actually generating the declarations for these variables so the shader fails to compile.Test case:
Note
_FRAGMENT_STAGE_OUT_1
.