Skip to content

Commit 930934f

Browse files
committed
Clarify comments.
1 parent 7a739db commit 930934f

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

naga/src/back/spv/ray.rs

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1324,7 +1324,9 @@ impl Writer {
13241324
initialized_tracker_id,
13251325
super::RayQueryPoint::FINISHED_TRAVERSAL.bits(),
13261326
);
1327-
// TODO: Is double calling this invalid? Can't find anything to suggest so.
1327+
1328+
// Can't find anything to suggest double calling this function is invalid.
1329+
13281330
let not_finished_id = self.id_gen.next();
13291331
block.body.push(Instruction::unary(
13301332
spirv::Op::LogicalNot,
@@ -1623,7 +1625,7 @@ impl Writer {
16231625
initialized_tracker_id,
16241626
super::RayQueryPoint::FINISHED_TRAVERSAL.bits(),
16251627
);
1626-
// TODO: Is double calling this invalid? Can't find anything to suggest so, but it seems strange not to
1628+
// Although it seems strange to call this twice, I (Vecvec) can't find anything to suggest double calling this function is invalid.
16271629
let not_finished_id = self.id_gen.next();
16281630
block.body.push(Instruction::unary(
16291631
spirv::Op::LogicalNot,

0 commit comments

Comments
 (0)