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 type mismatch in shared shader code #626

Merged
merged 1 commit into from Dec 12, 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

Fix type mismatch in shared shader code

  • Loading branch information
mmatyas committed Dec 12, 2016
commit 2b747d1c5d3fdd4132afe84b66c96a79057b9514
@@ -638,7 +638,7 @@ BoxShadow fetch_boxshadow(int index) {
}

void write_clip(vec2 global_pos, ClipArea area) {
vec2 texture_size = textureSize(sCache, 0).xy;
vec2 texture_size = vec2(textureSize(sCache, 0).xy);
vec2 uv = global_pos + area.task_bounds.xy - area.screen_origin_target_index.xy;
vClipMaskUvBounds = area.task_bounds / texture_size.xyxy;
vClipMaskUv = vec3(uv / texture_size, area.screen_origin_target_index.z);
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.