We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a78b265 commit 85f6629Copy full SHA for 85f6629
naga/src/back/spv/ray.rs
@@ -1697,9 +1697,18 @@ impl BlockContext<'_> {
1697
.get(&query)
1698
.expect("not a cached ray query");
1699
1700
+ let rq_get_vertex_positions_ty_id = self.get_handle_type_id(
1701
+ *self
1702
+ .ir_module
1703
+ .special_types
1704
+ .ray_vertex_return
1705
+ .as_ref()
1706
+ .expect("must be generated when reading in get vertex position"),
1707
+ );
1708
+
1709
let func_call_id = self.gen_id();
1710
block.body.push(Instruction::function_call(
- self.writer.void_type,
1711
+ rq_get_vertex_positions_ty_id,
1712
func_call_id,
1713
fn_id,
1714
&[query_id, init_tracker_id],
0 commit comments