fix docstest errors in render graph
This commit is contained in:
parent
0edba69b02
commit
33358662e2
|
@ -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,
|
||||||
/// &[
|
/// &[
|
||||||
|
|
|
@ -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> {
|
||||||
|
|
Loading…
Reference in New Issue