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 b5bbe64 commit 6a4c695Copy full SHA for 6a4c695
naga/src/back/spv/ray.rs
@@ -1866,9 +1866,18 @@ impl BlockContext<'_> {
1866
.get(&query)
1867
.expect("not a cached ray query");
1868
1869
+ let rq_get_vertex_positions_ty_id = self.get_handle_type_id(
1870
+ *self
1871
+ .ir_module
1872
+ .special_types
1873
+ .ray_vertex_return
1874
+ .as_ref()
1875
+ .expect("must be generated when reading in get vertex position"),
1876
+ );
1877
+
1878
let func_call_id = self.gen_id();
1879
block.body.push(Instruction::function_call(
- self.writer.void_type,
1880
+ rq_get_vertex_positions_ty_id,
1881
func_call_id,
1882
fn_id,
1883
&[query_id, tracker_id.initialized_tracker],
0 commit comments