mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-22 06:44:14 +00:00
[naga] Document snapshots::Targets::IR
and ANALYSIS
. (#6231)
This commit is contained in:
parent
50b71287ce
commit
c87717b814
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user