diff --git a/vello_tests/snapshots/rounded_rectangle_watertight.png b/vello_tests/snapshots/rounded_rectangle_watertight.png new file mode 100644 index 00000000..5452c760 --- /dev/null +++ b/vello_tests/snapshots/rounded_rectangle_watertight.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6c8d031525fa9a146c43eb0b51bedf5aa7ed69af6dcb6acdef3e28e020b41c23 +size 821 diff --git a/vello_tests/src/lib.rs b/vello_tests/src/lib.rs index e9791059..f9b3c1c1 100644 --- a/vello_tests/src/lib.rs +++ b/vello_tests/src/lib.rs @@ -16,7 +16,7 @@ use vello::wgpu::{ self, BufferDescriptor, BufferUsages, CommandEncoderDescriptor, Extent3d, ImageCopyBuffer, TextureDescriptor, TextureFormat, TextureUsages, }; -use vello::{block_on_wgpu, util::RenderContext, RendererOptions, Scene}; +use vello::{block_on_wgpu, util::RenderContext, AaConfig, RendererOptions, Scene}; mod compare; mod snapshot; @@ -32,6 +32,7 @@ pub struct TestParams { pub base_colour: Option, pub use_cpu: bool, pub name: String, + pub anti_aliasing: AaConfig, } impl TestParams { @@ -42,6 +43,7 @@ impl TestParams { base_colour: None, use_cpu: false, name: name.into(), + anti_aliasing: AaConfig::Area, } } } @@ -87,7 +89,7 @@ pub async fn get_scene_image(params: &TestParams, scene: &Scene) -> Result Result