Update webrender + shaders.

This commit is contained in:
Glenn Watson 2016-08-16 08:58:51 +10:00
parent cb01d37338
commit 1242a0df69
7 changed files with 99 additions and 7 deletions

View file

@ -16,6 +16,7 @@ flat varying vec4 vRadii; // The border radius from CSS border-radiu
varying vec2 vLocalPos; // The clamped position in local space.
varying vec2 vDevicePos; // The clamped position in device space.
flat varying vec4 vBorders; // the rect of the border in (x, y, width, height) form
flat varying vec4 vLocalBorders; // The rect of the border (x, y, w, h) in local space.
// for corners, this is the beginning of the corner.
// For the lines, this is the top left of the line.