Skip to content

Commit

Permalink
Expose shader validation
Browse files Browse the repository at this point in the history
  • Loading branch information
daxpedda committed Dec 6, 2023
1 parent 41fb222 commit 378e8fe
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 @@ -67,7 +67,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-hal` 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 378e8fe

Please sign in to comment.