Files
angle/util
Shahbaz Youssefi bc82325e34 Fix RedGreenGradient to not output 0 for half the image
The shader directly used v_position.xy as output color, but for half of
the image x and y are negative and the respective channel became zero.

This change makes the shader use v_position.xy*0.5+0.5.  Additionally,
the tests that use this shader are changed to mathematically derive the
pixel colors instead of using magic numbers.

Bug: angleproject:5395
Change-Id: Ic11c362c22ca725aa173faa5fd6033a02a4303fd
Reviewed-on: https://chromium-review.googlesource.com/c/angle/angle/+/2559265
Reviewed-by: Tim Van Patten <[email protected]>
Reviewed-by: Jamie Madill <[email protected]>
Commit-Queue: Shahbaz Youssefi <[email protected]>
2020-11-25 18:01:39 +00:00
..
2020-11-13 03:42:28 +00:00
2020-10-16 19:14:22 +00:00
2020-06-12 21:41:11 +00:00
2020-10-16 19:14:22 +00:00
2020-10-16 19:14:22 +00:00
2019-12-16 22:35:05 +00:00