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

Fixed shader compile error in cs_clip_image VS #681

Merged
merged 1 commit into from Jan 4, 2017
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Fixed shader compile error in cs_clip_image VS

  • Loading branch information
kvark committed Jan 4, 2017
commit 159e2c0eb404904bc4819529b81393b33cdcc001
@@ -33,6 +33,6 @@ void main(void) {
vPos = vi.local_pos;

vClipMaskUv = vec3((vPos.xy / vPos.z - local_rect.xy) / local_rect.zw, 0.0);
vec2 texture_size = textureSize(sMask, 0);
vec2 texture_size = vec2(textureSize(sMask, 0));
vClipMaskUvRect = mask.uv_rect / texture_size.xyxy;
}
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.