mirror of
https://github.com/italicsjenga/vello.git
synced 2025-01-10 04:31:30 +11:00
b103a55301
Adds full support for COLRv1 radial gradients based on the two-point conical gradient algorithm at https://skia.org/docs/dev/design/conical/ Also adds robustness to degenerate cases in gradient encoding: * Radial where p0 == p1 && r0 == r1 renders transparent solid * Empty stops render as transparent solid * Single stop renders as solid
21 lines
886 B
JSON
21 lines
886 B
JSON
{
|
|
"wgsl-analyzer.customImports": {
|
|
"bbox": "${workspaceFolder}/shader/shared/bbox.wgsl",
|
|
"blend": "${workspaceFolder}/shader/shared/blend.wgsl",
|
|
"bump": "${workspaceFolder}/shader/shared/bump.wgsl",
|
|
"clip": "${workspaceFolder}/shader/shared/clip.wgsl",
|
|
"config": "${workspaceFolder}/shader/shared/config.wgsl",
|
|
"cubic": "${workspaceFolder}/shader/shared/cubic.wgsl",
|
|
"drawtag": "${workspaceFolder}/shader/shared/drawtag.wgsl",
|
|
"pathtag": "${workspaceFolder}/shader/shared/pathtag.wgsl",
|
|
"ptcl": "${workspaceFolder}/shader/shared/ptcl.wgsl",
|
|
"segment": "${workspaceFolder}/shader/shared/segment.wgsl",
|
|
"tile": "${workspaceFolder}/shader/shared/tile.wgsl",
|
|
"transform": "${workspaceFolder}/shader/shared/transform.wgsl"
|
|
},
|
|
"wgsl-analyzer.diagnostics.nagaVersion": "main",
|
|
"wgsl-analyzer.preprocessor.shaderDefs": [
|
|
"full"
|
|
]
|
|
}
|