mirror of
https://github.com/italicsjenga/vello.git
synced 2025-01-10 20:51:29 +11:00
14 lines
239 B
WebGPU Shading Language
14 lines
239 B
WebGPU Shading Language
// SPDX-License-Identifier: Apache-2.0 OR MIT OR Unlicense
|
|
|
|
struct Cubic {
|
|
p0: vec2<f32>,
|
|
p1: vec2<f32>,
|
|
p2: vec2<f32>,
|
|
p3: vec2<f32>,
|
|
stroke: vec2<f32>,
|
|
path_ix: u32,
|
|
flags: u32,
|
|
}
|
|
|
|
const CUBIC_IS_STROKE = 1u;
|