File tree Expand file tree Collapse file tree
naga/src/front/wgsl/parse/directive Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -10,13 +10,19 @@ use alloc::boxed::Box;
1010/// Tracks the status of every enable-extension known to Naga.
1111#[ derive( Clone , Debug , Eq , PartialEq ) ]
1212pub struct EnableExtensions {
13+ /// Whether `enable wgpu_mesh_shader;` was written earlier in the shader module.
1314 wgpu_mesh_shader : bool ,
15+ /// Whether `enable wgpu_ray_query;` was written earlier in the shader module.
1416 wgpu_ray_query : bool ,
17+ /// Whether `enable wgpu_ray_query_vertex_return;` was written earlier in the shader module.
1518 wgpu_ray_query_vertex_return : bool ,
19+ /// Whether `enable dual_source_blending;` was written earlier in the shader module.
1620 dual_source_blending : bool ,
1721 /// Whether `enable f16;` was written earlier in the shader module.
1822 f16 : bool ,
23+ /// Whether `enable clip_distances;` was written earlier in the shader module.
1924 clip_distances : bool ,
25+ /// Whether `enable wgpu_cooperative_matrix;` was written earlier in the shader module.
2026 wgpu_cooperative_matrix : bool ,
2127}
2228
You can’t perform that action at this time.
0 commit comments