Skip to content

Commit

Permalink
feat: derives for AaSupport (#654)
Browse files Browse the repository at this point in the history
Doesn't play well with bevy_vello since I can't interoperate these types
or clone, etc.

---------

Co-authored-by: Daniel McNab <[email protected]>
  • Loading branch information
simbleau and DJMcNab authored Aug 6, 2024
1 parent 5d56854 commit 0808fa0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vello/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -134,14 +134,15 @@ use wgpu::{Device, Queue, SurfaceTexture, TextureFormat, TextureView};
use wgpu_profiler::{GpuProfiler, GpuProfilerSettings};

/// Represents the antialiasing method to use during a render pass.
#[derive(Copy, Clone, PartialEq, Eq)]
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
pub enum AaConfig {
Area,
Msaa8,
Msaa16,
}

/// Represents the set of antialiasing configurations to enable during pipeline creation.
#[derive(Debug, Copy, Clone, PartialEq, Eq)]
pub struct AaSupport {
pub area: bool,
pub msaa8: bool,
Expand Down

0 comments on commit 0808fa0

Please sign in to comment.