Skip to content

Commit 607b8cd

Browse files
committed
Clippy
1 parent 95ada23 commit 607b8cd

File tree

2 files changed

+3
-5
lines changed

2 files changed

+3
-5
lines changed

naga/src/back/spv/ray.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -926,7 +926,7 @@ impl Writer {
926926
],
927927
);
928928

929-
let all_valid_id = self.write_reduce_and(
929+
self.write_reduce_and(
930930
&mut block,
931931
vec![
932932
tmin_le_tmax_id,
@@ -937,9 +937,7 @@ impl Writer {
937937
not_contain_skip_triangles_cull,
938938
not_contain_multiple_opaque,
939939
],
940-
);
941-
942-
all_valid_id
940+
)
943941
});
944942

945943
let merge_label_id = self.id_gen.next();

wgpu-types/src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7938,7 +7938,7 @@ pub struct ShaderRuntimeChecks {
79387938
/// - `rayQueryProceed` must have been called and have returned true before `rayQueryTerminate`,
79397939
/// `getCandidateHitVertexPositions` or `rayQueryGetCandidateIntersection` is called
79407940
/// - `rayQueryProceed` must have been called and have returned false before `rayQueryGetCommittedIntersection`
7941-
/// or `getCommittedHitVertexPositions` are called
7941+
/// or `getCommittedHitVertexPositions` are called
79427942
///
79437943
/// It is the aim that these cases will not cause UB if this is set to true, but currently this will still happen on DX12 and Metal.
79447944
pub ray_query_initialization_tracking: bool,

0 commit comments

Comments
 (0)