Skip to content
New issue

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

Fix `textureLod` parameter type #632

Merged
merged 1 commit into from Dec 14, 2016
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

@@ -659,6 +659,6 @@ float do_clip() {
vec4(vClipMaskUv.xy, vClipMaskUvBounds.zw));
// check for the dummy bounds, which are given to the opaque objects
return vClipMaskUvBounds.xy == vClipMaskUvBounds.zw ? 1.0:
all(inside) ? textureLod(sCache, vClipMaskUv, 0).a : 0.0;
all(inside) ? textureLod(sCache, vClipMaskUv, 0.0).a : 0.0;
}
#endif //WR_FRAGMENT_SHADER
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.