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
Hi aras, I found the optimizer cannot correctly dealing with nested structure. e.g, the following code:
struct fragInput { highp vec4 baseTC; } struct fragPass { fragInput IN; }
will be interpreted by the optimizer as:
fragInput tmpvar_1; tmpvar_1 = fragInput(vec4(0.0, 0.0, 0.0, 0.0));
but, struct fragInput's declaration is missing. How to solve this problem?
thanks a lot.
The text was updated successfully, but these errors were encountered:
Anybody here? Help plz. :(
Sorry, something went wrong.
No branches or pull requests
Hi aras,
I found the optimizer cannot correctly dealing with nested structure.
e.g, the following code:
struct fragInput {
highp vec4 baseTC;
}
struct fragPass {
fragInput IN;
}
will be interpreted by the optimizer as:
fragInput tmpvar_1;
tmpvar_1 = fragInput(vec4(0.0, 0.0, 0.0, 0.0));
but, struct fragInput's declaration is missing. How to solve this problem?
thanks a lot.
The text was updated successfully, but these errors were encountered: