Update webrender to get clip_shared changes.

This commit is contained in:
Glenn Watson 2016-10-18 12:27:34 +10:00
parent f96718d03d
commit 6925c6246f
13 changed files with 60 additions and 61 deletions

View file

@ -15,11 +15,7 @@ void main(void) {
vPos = vi.local_clamped_pos;
#endif
vClipRect = vec4(rect.clip.rect.xy, rect.clip.rect.xy + rect.clip.rect.zw);
vClipRadius = vec4(rect.clip.top_left.outer_inner_radius.x,
rect.clip.top_right.outer_inner_radius.x,
rect.clip.bottom_right.outer_inner_radius.x,
rect.clip.bottom_left.outer_inner_radius.x);
write_clip(rect.clip);
vColor = rect.color;
}