We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
var pixelSize: uint32 = 2 icols: uint32 = 1024 irows: uint32 = 1024 ocols = icols * pixelSize orows = irows * pixelSize inputShape: UVec2 = uvec2(icols, irows) outputShape: UVec2 = uvec2(ocols, orows)
generates just
uvec2 outputShape = uvec2(ocols, orows);
that causes error
error C1503: undefined variable "ocols"
the only way I've found so far to pass vec2 vars to glsl via shady is using int literals as arguments
The text was updated successfully, but these errors were encountered:
Is this in the outer scope? Outer scope is odd in that it only brings in vars that are mentioned.
It needs to do a better job at walking outputShape and finding all symbols it uses.
Sorry, something went wrong.
yes, it's global scope
I have not yet wrapped anything as I've been following the pattern used in examples so far (and I am already dribbling the conversion limitations)
I'll try refactoring and cleaning up global scope
No branches or pull requests
generates just
that causes error
the only way I've found so far to pass vec2 vars to glsl via shady is using int literals as arguments
The text was updated successfully, but these errors were encountered: