Skip to content

Commit

Permalink
[naga] Document snapshots::Targets::IR and ANALYSIS.
Browse files Browse the repository at this point in the history
  • Loading branch information
jimblandy committed Sep 6, 2024
1 parent 50b7128 commit f14672d
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions naga/tests/snapshots.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,12 @@ const BASE_DIR_OUT: &str = "tests/out";
bitflags::bitflags! {
#[derive(Clone, Copy)]
struct Targets: u32 {
/// A serialization of the `naga::Module`, in RON format.
const IR = 1;

/// A serialization of the `naga::valid::ModuleInfo`, in RON format.
const ANALYSIS = 1 << 1;

const SPIRV = 1 << 2;
const METAL = 1 << 3;
const GLSL = 1 << 4;
Expand Down

0 comments on commit f14672d

Please sign in to comment.