mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Update WR - texture layers, image mask, profiler, optimizations.
This commit is contained in:
parent
4b28750b9a
commit
86eaef237b
19 changed files with 182 additions and 58 deletions
12
resources/shaders/ps_gradient.glsl
Normal file
12
resources/shaders/ps_gradient.glsl
Normal file
|
@ -0,0 +1,12 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
varying vec4 vColor;
|
||||
|
||||
#ifdef WR_FEATURE_TRANSFORM
|
||||
varying vec3 vLocalPos;
|
||||
flat varying vec4 vLocalRect;
|
||||
#else
|
||||
varying vec2 vPos;
|
||||
#endif
|
Loading…
Add table
Add a link
Reference in a new issue