mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update webrender + shaders.
This commit is contained in:
parent
cb01d37338
commit
1242a0df69
7 changed files with 99 additions and 7 deletions
|
@ -25,13 +25,17 @@
|
|||
#define varying in
|
||||
|
||||
// Uniform inputs
|
||||
uniform sampler2D sDiffuse;
|
||||
uniform sampler2D sMask;
|
||||
|
||||
// Fragment shader outputs
|
||||
out vec4 oFragColor;
|
||||
#endif
|
||||
|
||||
//======================================================================================
|
||||
// Shared shader uniforms
|
||||
//======================================================================================
|
||||
uniform sampler2D sDiffuse;
|
||||
|
||||
//======================================================================================
|
||||
// Interpolator definitions
|
||||
//======================================================================================
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue