fix docstest errors in render graph

This commit is contained in:
SeanOMik 2024-06-16 00:15:54 -04:00
parent 0edba69b02
commit 33358662e2
Signed by: SeanOMik
GPG Key ID: FEC9E2FC15235964
2 changed files with 1 additions and 3 deletions

View File

@ -432,7 +432,7 @@ impl RenderGraph {
/// name is not found in the graph, a panic will occur. /// name is not found in the graph, a panic will occur.
/// ///
/// # Example: /// # Example:
/// ```rust,nobuild /// ```nobuild
/// graph.set_bind_groups( /// graph.set_bind_groups(
/// &mut pass, /// &mut pass,
/// &[ /// &[

View File

@ -146,8 +146,6 @@ fn fs_main(in: VertexOutput) -> @location(0) vec4<f32> {
let light_object_res = light_res * (object_color.xyz); let light_object_res = light_res * (object_color.xyz);
return vec4<f32>(light_object_res, object_color.a); return vec4<f32>(light_object_res, object_color.a);
//return debug_grid(in);
} }
fn debug_grid(in: VertexOutput) -> vec4<f32> { fn debug_grid(in: VertexOutput) -> vec4<f32> {