mirror of
https://github.com/servo/servo.git
synced 2025-08-16 02:45:36 +01:00
Copy shaders from WR repo.
This commit is contained in:
parent
e5f183a086
commit
2ebf8618c0
51 changed files with 1781 additions and 11 deletions
|
@ -28,7 +28,7 @@ void main(void) {
|
|||
lColorTexCoord.x <= 1.0 &&
|
||||
lColorTexCoord.y >= 0.0 &&
|
||||
lColorTexCoord.y <= 1.0 ?
|
||||
Texture(sDiffuse, lColorTexCoord * sourceTextureUvSize + sourceTextureUvOrigin) :
|
||||
texture(sDiffuse, lColorTexCoord * sourceTextureUvSize + sourceTextureUvOrigin) :
|
||||
vec4(0.0);
|
||||
|
||||
// Alpha must be premultiplied in order to properly blur the alpha channel.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue