Skip to main content

Module validate

Module validate 

Source

Structs§

ValidationReport

Functions§

validate_native
Validate a non-WGSL shader by spawning the target’s offline compiler. When the source was generated from a known KernelSpec, pass it so the report carries that kernel’s real entry point and binding count; for an opaque external source (kernel = None) those fields are left empty/zero rather than guessed.
validate_wgsl