Héctor Ramón Jiménez
10d0b257f9
Use Oklab color interpolation only with color::GAMMA_CORRECTION
2023-09-07 07:48:43 +02:00
Matthias Vogelgesang
181708a1c0
Compute gradients in Oklab color space
2023-09-07 07:45:42 +02:00
Héctor Ramón Jiménez
87800095e2
Remove unnecessary interpolate(flat) in quad.wgsl
2023-09-07 05:43:03 +02:00
David Huculak
76cec1b1fd
use @interpolate(flat) attribute as per the WebGPU spec:
...
User-defined vertex outputs and fragment inputs of scalar or vector integer type must always be specified as @interpolate(flat)
https://www.w3.org/TR/WGSL/#interpolation
2023-09-03 19:32:38 -04:00
Bingus
677f564f08
Switched to packing using f16s to maintain acceptable precision.
2023-06-07 11:18:26 -07:00
Bingus
9554c78f3a
Updated color packing into u32 to consider incorrect web-colors.
2023-06-06 17:24:26 -07:00
Bingus
ea7f2626b1
Optimized gradient data packing.
2023-06-06 16:46:20 -07:00
Bingus
6551a0b2ab
Added support for gradients as background variants + other optimizations.
2023-05-11 11:13:44 -07:00
Robert Krahn
c0596179bd
non uniform border radius for quads
2022-11-03 22:48:26 +01:00
Cupnfish
390e2a2d34
better wgsl code style
2022-07-02 22:51:51 +08:00
Cupnfish
c148557cab
update wgpu to 0.13
2022-07-02 15:39:42 +08:00
Poly
23ef0143ed
Update wgpu 0.12
2022-01-04 16:15:44 +07:00
Dispersia
0772310c4f
Fix duplicating fragment position
2021-05-20 23:10:22 -07:00
Dispersia
983aa1b366
Run cargo fmt
2021-04-12 23:23:47 -07:00
Dispersia
0722d5e3ec
add temporary fix for image wgsl
2021-04-12 23:07:58 -07:00
Dispersia
9a2c78c405
Upgrade wgpu
2021-04-11 18:55:57 -07:00