mirror of
https://github.com/servo/servo.git
synced 2025-08-14 01:45:33 +01:00
Update webrender + shaders.
This commit is contained in:
parent
cb01d37338
commit
1242a0df69
7 changed files with 99 additions and 7 deletions
|
@ -103,6 +103,9 @@ void main(void) {
|
|||
// Local space
|
||||
vLocalPos = vi.local_clamped_pos.xy;
|
||||
|
||||
// Local space
|
||||
vLocalBorders = border.info.local_rect;
|
||||
|
||||
// These are in device space
|
||||
vDevicePos = vi.global_clamped_pos;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue