Chad Brokaw
a8585781cd
move atlas rect to info
...
Atlas offset and image size were originally stored in the ptcl but are not tile dependent. Moving these to info saves 8 bytes per image tile.
2023-03-10 01:42:50 -05:00
Chad Brokaw
165b3a083b
Let's add images
2023-03-09 17:18:03 -05:00
Chad Brokaw
15efb8b3f6
fixes after rebase
...
* remove SceneBuilder::finish() calls
* remove old Config struct
* comment about syncing structs in config.wgsl
2023-03-03 20:46:50 -05:00
Arman Uguray
3bbf108df5
Renamed clear_color to base_color; addressed review comments
2023-03-02 14:29:44 -08:00
Arman Uguray
8eabc12a72
Add a clear_color uniform
...
Introduced an RGBA8 config parameter to apply as a base blend color in
the fine stage of the full pipeline.
2023-03-02 09:26:31 -08:00
Chad Brokaw
0c0c61dc82
Address review feedback
...
* Add counts to offsets when comparing against buffer size limits
* Remove multiplication by 4 in blend buffer allocation (we use units of u32)
* Move buffer sizes from BumpAllocators to Config
* Add comments about early exit
2023-01-18 21:36:32 -05:00
Chad Brokaw
f0587b6770
add comment about syncing BumpAllocators struct
2023-01-17 22:51:46 -05:00
Chad Brokaw
1e8d194b6a
initial GPU side work for robust memory
...
This should handle everything on the GPU side except for blend stack loading/storing in fine.
2023-01-17 14:08:20 -05:00
Duane Johnson
3e8a4813f0
Update references to piet-gpu where it makes sense ( #240 )
2023-01-08 16:15:51 +00:00
Daniel McNab
ff59839737
Move the vello crate to the workspace root ( #231 )
...
* Move the vello crate to the root of the crate
* Add warning that README is work in progress
* Add newline in warning
* Move the unlicense into the shader folder
* Fixup wgsl-analyzer include paths
2023-01-05 09:32:09 +00:00