mirror of
https://github.com/servo/servo.git
synced 2025-08-20 21:05:34 +01:00
Update webrender, gleam and associated shaders.
This commit is contained in:
parent
1f1e92aca3
commit
9535c5ba5e
18 changed files with 142 additions and 85 deletions
|
@ -17,7 +17,7 @@ void main(void) {
|
|||
vec2 f = (vi.local_clamped_pos - vi.local_rect.p0) / (vi.local_rect.p1 - vi.local_rect.p0);
|
||||
#endif
|
||||
|
||||
vec2 texture_size = textureSize(sDiffuse, 0);
|
||||
vec2 texture_size = vec2(textureSize(sDiffuse, 0));
|
||||
vec2 st0 = uv_rect.xy / texture_size;
|
||||
vec2 st1 = uv_rect.zw / texture_size;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue