This website requires JavaScript.
Explore
Help
Sign In
alex
/
vello
Watch
1
Star
0
Fork
You've already forked vello
0
mirror of
https://github.com/italicsjenga/vello.git
synced
2025-01-11 04:51:32 +11:00
Code
Issues
Packages
Projects
Releases
Wiki
Activity
064ee86a45
vello
/
piet-gpu-types
/
src
/
lib.rs
7 lines
96 B
Rust
Raw
Normal View
History
Unescape
Escape
Add scene types This patch adds a module that contains both scene and ptcl types (very lightly adapted from piet-metal), as well as infrastructure for encoding Rust-side. WIP, it's not wired up in either the shader or on the Rust side.
2020-04-17 11:14:09 +10:00
pub
mod
encoder
;
pub
mod
ptcl
;
pub
mod
scene
;
Implement stroked polylines This version seems to work but the allocation of segments has low utilization. Probably best to allocate in chunks rather than try to make them contiguous.
2020-04-29 04:02:19 +10:00
pub
mod
segment
;
Add f16 support. Handling f16 requires special work, compared to other scalars, as the minimum conversion operation for u32->f16 in GLSL (unpackHalf2x16) loads two f16s from one u32. This means that in order to minimize unnecessary calls to unpackHalf2x16, we should look-ahead to see if the current f16 has already been extracted in the process of dealing with the last f16. Similar considerations exist for write operations, where we want to pack, when possible, two f16s in one go (using packHalf2x16).
2020-04-19 10:04:19 +10:00
pub
mod
test
;
First draft of kernel 1 Output of kernel 1 is validated by simple inspection, next step is to wire it up properly.
2020-04-21 10:15:36 +10:00
pub
mod
tilegroup
;
Reference in a new issue
Copy permalink