Skip to content

Commit c87717b

Browse files
authored
[naga] Document snapshots::Targets::IR and ANALYSIS. (#6231)
1 parent 50b7128 commit c87717b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

naga/tests/snapshots.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,12 @@ const BASE_DIR_OUT: &str = "tests/out";
1414
bitflags::bitflags! {
1515
#[derive(Clone, Copy)]
1616
struct Targets: u32 {
17+
/// A serialization of the `naga::Module`, in RON format.
1718
const IR = 1;
19+
20+
/// A serialization of the `naga::valid::ModuleInfo`, in RON format.
1821
const ANALYSIS = 1 << 1;
22+
1923
const SPIRV = 1 << 2;
2024
const METAL = 1 << 3;
2125
const GLSL = 1 << 4;

0 commit comments

Comments
 (0)