Skip to content

Commit

Permalink
Expose shader validation (#4811)
Browse files Browse the repository at this point in the history
Co-authored-by: Connor Fitzgerald <[email protected]>
  • Loading branch information
daxpedda and cwfitzgerald authored Dec 6, 2023
1 parent 63657b3 commit 3e0fb2c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion wgpu-core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,11 @@ pub mod registry;
pub mod resource;
pub mod storage;
mod track;
mod validation;
// This is public for users who pre-compile shaders while still wanting to
// preserve all run-time checks that `wgpu-core` does.
// See <https://github.com/gfx-rs/wgpu/issues/3103>, after which this can be
// made private again.
pub mod validation;

pub use hal::{api, MAX_BIND_GROUPS, MAX_COLOR_ATTACHMENTS, MAX_VERTEX_BUFFERS};

Expand Down

0 comments on commit 3e0fb2c

Please sign in to comment.