Skip to content

Commit

Permalink
Output dot (turns out it's not a shading language).
Browse files Browse the repository at this point in the history
  • Loading branch information
Vecvec committed Feb 8, 2025
1 parent 910526b commit 12bfe8f
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions naga/src/back/dot/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -717,8 +717,10 @@ fn write_function_expressions(
}
E::SubgroupBallotResult => ("SubgroupBallotResult".into(), 4),
E::SubgroupOperationResult { .. } => ("SubgroupOperationResult".into(), 4),
E::RayQueryVertexPositions { .. } => {
unimplemented!("RayQueryVertexPositions not supported")
E::RayQueryVertexPositions { query, committed } => {
edges.insert("", query);
let ty = if committed { "Committed" } else { "Candidate" };
(format!("get{}HitVertexPositions", ty).into(), 4)
}
};

Expand Down

0 comments on commit 12bfe8f

Please sign in to comment.