File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -3599,7 +3599,7 @@ impl Writer {
35993599 . flat_map ( |entry| entry. function . arguments . iter ( ) )
36003600 . any ( |arg| has_view_index_check ( ir_module, arg. binding . as_ref ( ) , arg. ty ) ) ;
36013601 let has_vertex_return = ir_module. special_types . ray_vertex_return . is_some ( ) ;
3602-
3602+
36033603 let rt_uses = ir_module. uses_ray_tracing ( ep_index) ;
36043604 let has_ray_query = rt_uses. queries ;
36053605 let has_ray_tracing_pipeline = rt_uses. pipelines ;
Original file line number Diff line number Diff line change @@ -956,7 +956,6 @@ impl crate::Module {
956956
957957 uses. queries |= self . special_types . ray_intersection . is_some ( ) ;
958958
959-
960959 for ( _, & crate :: Type { ref inner, .. } ) in self . types . iter ( ) {
961960 // Backends do not know whether these have vertex return - that is done by us
962961 match * inner {
@@ -973,7 +972,7 @@ impl crate::Module {
973972 continue ;
974973 }
975974
976- // if we have a ray tracing pipeline shader we are definitly using
975+ // if we have a ray tracing pipeline shader we are definitly using
977976 // pipelines, otherwise, if we have a ray tracing type, we might
978977 // be using it in the shader (which would require ray queries),
979978 // so we should use queries.
You can’t perform that action at this time.
0 commit comments