Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expose shader validation #4811

Merged
merged 2 commits into from
Dec 6, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.
cwfitzgerald marked this conversation as resolved.
Show resolved Hide resolved
// See <https://github.com/gfx-rs/wgpu/issues/3103>, after which this can be
// made private again.
cwfitzgerald marked this conversation as resolved.
Show resolved Hide resolved
pub mod validation;
daxpedda marked this conversation as resolved.
Show resolved Hide resolved

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

Expand Down
Loading