PBR
This commit is contained in:
@@ -25,8 +25,8 @@ fn standard_shader_is_valid_wgsl() {
|
||||
.validate(&module)
|
||||
.unwrap_or_else(|e| panic!("standard_shader.wgsl: validation failed: {e:?}"));
|
||||
|
||||
// Contract: exactly the two expected entry points vs_main / fs_main.
|
||||
assert!(module.entry_points.len() >= 2, "vs_main + fs_main expected");
|
||||
// Contract: at least vs_main + fs_main (+ fs_pbr since Étape 27).
|
||||
assert!(module.entry_points.len() >= 3, "vs_main + fs_main + fs_pbr expected");
|
||||
}
|
||||
|
||||
/// Parses and fully validates the embedded `shadow_shader.wgsl` shader (Step 14, D4) via naga.
|
||||
|
||||
Reference in New Issue
Block a user