You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The glsl code emitted for lognand is return (~(A & B));. Unfortunately "~(" has semantic meaning to #'format so this causes an error when glsl-chunk-from-compiled calls glsl-line, which in turn calls format.
I fixed this by changing #'glsl-line to the following:
All I did was wrap the format call in an if statement that checks if there are args to pass to format.
If there isn't then format isn't needed anyways. I didn't make this a pull request as it seems like a
bit of a bodge and doesn't address the underlying issue. But I figure'd I'd document it in case
someone needs it short term.
The text was updated successfully, but these errors were encountered:
The glsl code emitted for lognand is
return (~(A & B));
. Unfortunately "~(" has semantic meaning to #'format so this causes an error when glsl-chunk-from-compiled calls glsl-line, which in turn calls format.I fixed this by changing #'glsl-line to the following:
All I did was wrap the format call in an if statement that checks if there are args to pass to format.
If there isn't then format isn't needed anyways. I didn't make this a pull request as it seems like a
bit of a bodge and doesn't address the underlying issue. But I figure'd I'd document it in case
someone needs it short term.
The text was updated successfully, but these errors were encountered: