Commit graph

11 commits

Author SHA1 Message Date
Héctor Ramón Jiménez
10d0b257f9
Use Oklab color interpolation only with color::GAMMA_CORRECTION 2023-09-07 07:48:43 +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
Héctor Ramón Jiménez
33c3c0c0aa
Group all solid triangles independently of color 2022-11-16 09:24:16 +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
9a2c78c405 Upgrade wgpu 2021-04-11 18:55:57 -07:00