mirror of
https://github.com/italicsjenga/vello.git
synced 2025-01-11 04:51:32 +11:00
15 lines
258 B
Rust
15 lines
258 B
Rust
|
use piet_gpu_derive::piet_gpu;
|
||
|
|
||
|
piet_gpu! {
|
||
|
#[gpu_write]
|
||
|
mod state {
|
||
|
struct State {
|
||
|
mat: [f32; 4],
|
||
|
translate: [f32; 2],
|
||
|
bbox: [f32; 4],
|
||
|
linewidth: f32,
|
||
|
flags: u32,
|
||
|
}
|
||
|
}
|
||
|
}
|