• Home
  • Raw
  • Download

Lines Matching full:device

5     device: &Device,  in check_spirv_capability()  argument
19 if !(device.enabled_features().geometry_shader) { in check_spirv_capability()
26 if !(device.enabled_features().tessellation_shader) { in check_spirv_capability()
33 if !(device.enabled_features().shader_float64) { in check_spirv_capability()
40 if !(device.enabled_features().shader_int64) { in check_spirv_capability()
47 if !(device.enabled_features().shader_buffer_int64_atomics in check_spirv_capability()
48 || device.enabled_features().shader_shared_int64_atomics in check_spirv_capability()
49 || device.enabled_features().shader_image_int64_atomics) in check_spirv_capability()
59 if !(device.enabled_features().shader_buffer_float16_atomic_add in check_spirv_capability()
60 || device.enabled_features().shader_shared_float16_atomic_add) in check_spirv_capability()
69 if !(device.enabled_features().shader_buffer_float32_atomic_add in check_spirv_capability()
70 || device.enabled_features().shader_shared_float32_atomic_add in check_spirv_capability()
71 || device.enabled_features().shader_image_float32_atomic_add) in check_spirv_capability()
81 if !(device.enabled_features().shader_buffer_float64_atomic_add in check_spirv_capability()
82 || device.enabled_features().shader_shared_float64_atomic_add) in check_spirv_capability()
91 if !(device in check_spirv_capability()
94 || device in check_spirv_capability()
105 if !(device in check_spirv_capability()
108 || device in check_spirv_capability()
111 || device in check_spirv_capability()
123 if !(device in check_spirv_capability()
126 || device in check_spirv_capability()
137 if !(device.enabled_features().shader_image_int64_atomics) { in check_spirv_capability()
144 if !(device.enabled_features().shader_int16) { in check_spirv_capability()
151 if !(device in check_spirv_capability()
161 if !(device in check_spirv_capability()
171 if !(device.enabled_features().shader_image_gather_extended) { in check_spirv_capability()
178 if !(device.enabled_features().shader_storage_image_multisample) { in check_spirv_capability()
185 if !(device in check_spirv_capability()
195 if !(device in check_spirv_capability()
205 if !(device in check_spirv_capability()
215 if !(device in check_spirv_capability()
225 if !(device.enabled_features().shader_clip_distance) { in check_spirv_capability()
232 if !(device.enabled_features().shader_cull_distance) { in check_spirv_capability()
239 if !(device.enabled_features().image_cube_array) { in check_spirv_capability()
246 if !(device.enabled_features().sample_rate_shading) { in check_spirv_capability()
253 if !(device.enabled_features().shader_resource_residency) { in check_spirv_capability()
260 if !(device.enabled_features().shader_resource_min_lod) { in check_spirv_capability()
267 if !(device.enabled_features().image_cube_array) { in check_spirv_capability()
274 if !(device.enabled_features().shader_storage_image_multisample) { in check_spirv_capability()
282 if !(device.enabled_features().sample_rate_shading) { in check_spirv_capability()
289 if !(device in check_spirv_capability()
292 || device.api_version() >= Version::V1_1 in check_spirv_capability()
293 || device.enabled_extensions().khr_format_feature_flags2) in check_spirv_capability()
298 "device extension `khr_format_feature_flags2`", in check_spirv_capability()
303 if !(device in check_spirv_capability()
306 || device.api_version() >= Version::V1_1 in check_spirv_capability()
307 || device.enabled_extensions().khr_format_feature_flags2) in check_spirv_capability()
312 "device extension `khr_format_feature_flags2`", in check_spirv_capability()
317 if !(device.enabled_features().multi_viewport) { in check_spirv_capability()
324 if !(device.enabled_features().shader_draw_parameters in check_spirv_capability()
325 || device.enabled_extensions().khr_shader_draw_parameters) in check_spirv_capability()
329 "device extension `khr_shader_draw_parameters`", in check_spirv_capability()
334 if !(device.enabled_features().multiview) { in check_spirv_capability()
341 if !(device.api_version() >= Version::V1_1 in check_spirv_capability()
342 || device.enabled_extensions().khr_device_group) in check_spirv_capability()
346 "device extension `khr_device_group`", in check_spirv_capability()
351 if !(device.enabled_features().variable_pointers_storage_buffer) { in check_spirv_capability()
358 if !(device.enabled_features().variable_pointers) { in check_spirv_capability()
365 if !(device.enabled_extensions().khr_shader_clock) { in check_spirv_capability()
367 "device extension `khr_shader_clock`", in check_spirv_capability()
372 if !(device.enabled_extensions().ext_shader_stencil_export) { in check_spirv_capability()
374 "device extension `ext_shader_stencil_export`", in check_spirv_capability()
379 if !(device.enabled_extensions().ext_shader_subgroup_ballot) { in check_spirv_capability()
381 "device extension `ext_shader_subgroup_ballot`", in check_spirv_capability()
386 if !(device.enabled_extensions().ext_shader_subgroup_vote) { in check_spirv_capability()
388 "device extension `ext_shader_subgroup_vote`", in check_spirv_capability()
393 if !(device.enabled_extensions().amd_shader_image_load_store_lod) { in check_spirv_capability()
395 "device extension `amd_shader_image_load_store_lod`", in check_spirv_capability()
400 if !(device.enabled_extensions().amd_texture_gather_bias_lod) { in check_spirv_capability()
402 "device extension `amd_texture_gather_bias_lod`", in check_spirv_capability()
407 if !(device.enabled_extensions().amd_shader_fragment_mask) { in check_spirv_capability()
409 "device extension `amd_shader_fragment_mask`", in check_spirv_capability()
414 if !(device.enabled_extensions().nv_sample_mask_override_coverage) { in check_spirv_capability()
416 "device extension `nv_sample_mask_override_coverage`", in check_spirv_capability()
421 if !(device.enabled_extensions().nv_geometry_shader_passthrough) { in check_spirv_capability()
423 "device extension `nv_geometry_shader_passthrough`", in check_spirv_capability()
428 if !(device.enabled_features().shader_output_viewport_index) { in check_spirv_capability()
435 if !(device.enabled_features().shader_output_layer) { in check_spirv_capability()
442 if !(device.enabled_extensions().ext_shader_viewport_index_layer in check_spirv_capability()
443 || device.enabled_extensions().nv_viewport_array2) in check_spirv_capability()
446 "device extension `ext_shader_viewport_index_layer`", in check_spirv_capability()
447 "device extension `nv_viewport_array2`", in check_spirv_capability()
452 if !(device.enabled_extensions().nv_viewport_array2) { in check_spirv_capability()
454 "device extension `nv_viewport_array2`", in check_spirv_capability()
459 if !(device in check_spirv_capability()
464 "device extension `nvx_multiview_per_view_attributes`", in check_spirv_capability()
469 if !(device.enabled_features().storage_buffer16_bit_access) { in check_spirv_capability()
476 if !(device in check_spirv_capability()
486 if !(device.enabled_features().storage_push_constant16) { in check_spirv_capability()
493 if !(device.enabled_features().storage_input_output16) { in check_spirv_capability()
500 if !(device in check_spirv_capability()
504 .map(|x| x.intersects(crate::device::physical::SubgroupFeatures::BASIC)) in check_spirv_capability()
513 if !(device in check_spirv_capability()
517 .map(|x| x.intersects(crate::device::physical::SubgroupFeatures::VOTE)) in check_spirv_capability()
526 if !(device in check_spirv_capability()
530 .map(|x| x.intersects(crate::device::physical::SubgroupFeatures::ARITHMETIC)) in check_spirv_capability()
539 if !(device in check_spirv_capability()
543 .map(|x| x.intersects(crate::device::physical::SubgroupFeatures::BALLOT)) in check_spirv_capability()
552 if !(device in check_spirv_capability()
556 .map(|x| x.intersects(crate::device::physical::SubgroupFeatures::SHUFFLE)) in check_spirv_capability()
565 if !(device in check_spirv_capability()
569 .map(|x| x.intersects(crate::device::physical::SubgroupFeatures::SHUFFLE_RELATIVE)) in check_spirv_capability()
578 if !(device in check_spirv_capability()
582 .map(|x| x.intersects(crate::device::physical::SubgroupFeatures::CLUSTERED)) in check_spirv_capability()
591 if !(device in check_spirv_capability()
595 .map(|x| x.intersects(crate::device::physical::SubgroupFeatures::QUAD)) in check_spirv_capability()
604 if !(device in check_spirv_capability()
608 .map(|x| x.intersects(crate::device::physical::SubgroupFeatures::PARTITIONED)) in check_spirv_capability()
617 if !(device.enabled_extensions().ext_post_depth_coverage) { in check_spirv_capability()
619 "device extension `ext_post_depth_coverage`", in check_spirv_capability()
624 if !(device.api_version() >= Version::V1_1 in check_spirv_capability()
625 || device.enabled_extensions().ext_descriptor_indexing) in check_spirv_capability()
629 "device extension `ext_descriptor_indexing`", in check_spirv_capability()
634 if !(device.enabled_features().runtime_descriptor_array) { in check_spirv_capability()
641 if !(device in check_spirv_capability()
651 if !(device in check_spirv_capability()
661 if !(device in check_spirv_capability()
671 if !(device in check_spirv_capability()
681 if !(device in check_spirv_capability()
691 if !(device in check_spirv_capability()
701 if !(device in check_spirv_capability()
711 if !(device in check_spirv_capability()
721 if !(device in check_spirv_capability()
731 if !(device in check_spirv_capability()
741 if !(device.enabled_extensions().ext_conservative_rasterization) { in check_spirv_capability()
743 "device extension `ext_conservative_rasterization`", in check_spirv_capability()
748 if !(device.enabled_features().shader_float16 in check_spirv_capability()
749 || device.enabled_extensions().amd_gpu_shader_half_float) in check_spirv_capability()
753 "device extension `amd_gpu_shader_half_float`", in check_spirv_capability()
758 if !(device.enabled_features().shader_int8) { in check_spirv_capability()
765 if !(device.enabled_features().storage_buffer8_bit_access) { in check_spirv_capability()
772 if !(device in check_spirv_capability()
782 if !(device.enabled_features().storage_push_constant8) { in check_spirv_capability()
789 if !(device.enabled_features().vulkan_memory_model) { in check_spirv_capability()
796 if !(device.enabled_features().vulkan_memory_model_device_scope) { in check_spirv_capability()
803 if !(device in check_spirv_capability()
808 || device in check_spirv_capability()
813 || device in check_spirv_capability()
827 if !(device in check_spirv_capability()
832 || device in check_spirv_capability()
837 || device in check_spirv_capability()
851 if !(device in check_spirv_capability()
856 || device in check_spirv_capability()
861 || device in check_spirv_capability()
875 if !(device in check_spirv_capability()
880 || device in check_spirv_capability()
885 || device in check_spirv_capability()
899 if !(device in check_spirv_capability()
904 || device in check_spirv_capability()
909 || device in check_spirv_capability()
923 if !(device.enabled_features().compute_derivative_group_quads) { in check_spirv_capability()
930 if !(device.enabled_features().compute_derivative_group_linear) { in check_spirv_capability()
937 if !(device.enabled_features().fragment_shader_barycentric in check_spirv_capability()
938 || device.enabled_features().fragment_shader_barycentric) in check_spirv_capability()
947 if !(device.enabled_features().image_footprint) { in check_spirv_capability()
954 if !(device.enabled_features().shading_rate_image in check_spirv_capability()
955 || device.enabled_features().fragment_density_map) in check_spirv_capability()
964 if !(device.enabled_extensions().nv_mesh_shader) { in check_spirv_capability()
966 "device extension `nv_mesh_shader`", in check_spirv_capability()
971 if !(device.enabled_features().ray_tracing_pipeline) { in check_spirv_capability()
978 if !(device.enabled_features().ray_query) { in check_spirv_capability()
985 if !(device.enabled_features().ray_traversal_primitive_culling in check_spirv_capability()
986 || device.enabled_features().ray_query) in check_spirv_capability()
995 if !(device.enabled_extensions().nv_ray_tracing) { in check_spirv_capability()
997 "device extension `nv_ray_tracing`", in check_spirv_capability()
1002 if !(device.enabled_features().ray_tracing_motion_blur) { in check_spirv_capability()
1009 if !(device.enabled_features().transform_feedback) { in check_spirv_capability()
1016 if !(device.enabled_features().geometry_streams) { in check_spirv_capability()
1023 if !(device.enabled_features().buffer_device_address) { in check_spirv_capability()
1030 if !(device.enabled_features().cooperative_matrix) { in check_spirv_capability()
1037 if !(device.enabled_features().shader_integer_functions2) { in check_spirv_capability()
1044 if !(device.enabled_features().shader_sm_builtins) { in check_spirv_capability()
1051 if !(device.enabled_features().fragment_shader_sample_interlock) { in check_spirv_capability()
1058 if !(device.enabled_features().fragment_shader_pixel_interlock) { in check_spirv_capability()
1065 if !(device in check_spirv_capability()
1068 || device.enabled_features().shading_rate_image) in check_spirv_capability()
1077 if !(device.enabled_features().shader_demote_to_helper_invocation) { in check_spirv_capability()
1084 if !(device.enabled_features().pipeline_fragment_shading_rate in check_spirv_capability()
1085 || device.enabled_features().primitive_fragment_shading_rate in check_spirv_capability()
1086 || device.enabled_features().attachment_fragment_shading_rate) in check_spirv_capability()
1096 if !(device.enabled_features().workgroup_memory_explicit_layout) { in check_spirv_capability()
1103 if !(device in check_spirv_capability()
1113 if !(device in check_spirv_capability()
1123 if !(device.enabled_features().shader_integer_dot_product) { in check_spirv_capability()
1130 if !(device.enabled_features().shader_integer_dot_product) { in check_spirv_capability()
1137 if !(device.enabled_features().shader_integer_dot_product) { in check_spirv_capability()
1144 if !(device.enabled_features().shader_integer_dot_product) { in check_spirv_capability()
1154 fn check_spirv_extension(device: &Device, extension: &str) -> Result<(), ShaderSupportError> { in check_spirv_extension() argument
1157 if !(device.api_version() >= Version::V1_1 in check_spirv_extension()
1158 || device.enabled_extensions().khr_variable_pointers) in check_spirv_extension()
1162 "device extension `khr_variable_pointers`", in check_spirv_extension()
1167 if !(device in check_spirv_extension()
1172 "device extension `amd_shader_explicit_vertex_parameter`", in check_spirv_extension()
1177 if !(device.enabled_extensions().amd_gcn_shader) { in check_spirv_extension()
1179 "device extension `amd_gcn_shader`", in check_spirv_extension()
1184 if !(device.enabled_extensions().amd_gpu_shader_half_float) { in check_spirv_extension()
1186 "device extension `amd_gpu_shader_half_float`", in check_spirv_extension()
1191 if !(device.enabled_extensions().amd_gpu_shader_int16) { in check_spirv_extension()
1193 "device extension `amd_gpu_shader_int16`", in check_spirv_extension()
1198 if !(device.enabled_extensions().amd_shader_ballot) { in check_spirv_extension()
1200 "device extension `amd_shader_ballot`", in check_spirv_extension()
1205 if !(device.enabled_extensions().amd_shader_fragment_mask) { in check_spirv_extension()
1207 "device extension `amd_shader_fragment_mask`", in check_spirv_extension()
1212 if !(device.enabled_extensions().amd_shader_image_load_store_lod) { in check_spirv_extension()
1214 "device extension `amd_shader_image_load_store_lod`", in check_spirv_extension()
1219 if !(device.enabled_extensions().amd_shader_trinary_minmax) { in check_spirv_extension()
1221 "device extension `amd_shader_trinary_minmax`", in check_spirv_extension()
1226 if !(device.enabled_extensions().amd_texture_gather_bias_lod) { in check_spirv_extension()
1228 "device extension `amd_texture_gather_bias_lod`", in check_spirv_extension()
1233 if !(device in check_spirv_extension()
1238 "device extension `amd_shader_early_and_late_fragment_tests`", in check_spirv_extension()
1243 if !(device.api_version() >= Version::V1_1 in check_spirv_extension()
1244 || device.enabled_extensions().khr_shader_draw_parameters) in check_spirv_extension()
1248 "device extension `khr_shader_draw_parameters`", in check_spirv_extension()
1253 if !(device.api_version() >= Version::V1_1 in check_spirv_extension()
1254 || device.enabled_extensions().khr_8bit_storage) in check_spirv_extension()
1258 "device extension `khr_8bit_storage`", in check_spirv_extension()
1263 if !(device.api_version() >= Version::V1_1 in check_spirv_extension()
1264 || device.enabled_extensions().khr_16bit_storage) in check_spirv_extension()
1268 "device extension `khr_16bit_storage`", in check_spirv_extension()
1273 if !(device.enabled_extensions().khr_shader_clock) { in check_spirv_extension()
1275 "device extension `khr_shader_clock`", in check_spirv_extension()
1280 if !(device.api_version() >= Version::V1_1 in check_spirv_extension()
1281 || device.enabled_extensions().khr_shader_float_controls) in check_spirv_extension()
1285 "device extension `khr_shader_float_controls`", in check_spirv_extension()
1290 if !(device.api_version() >= Version::V1_1 in check_spirv_extension()
1291 || device.enabled_extensions().khr_storage_buffer_storage_class) in check_spirv_extension()
1295 "device extension `khr_storage_buffer_storage_class`", in check_spirv_extension()
1300 if !(device.enabled_extensions().ext_post_depth_coverage) { in check_spirv_extension()
1302 "device extension `ext_post_depth_coverage`", in check_spirv_extension()
1307 if !(device.enabled_extensions().ext_shader_stencil_export) { in check_spirv_extension()
1309 "device extension `ext_shader_stencil_export`", in check_spirv_extension()
1314 if !(device.enabled_extensions().ext_shader_subgroup_ballot) { in check_spirv_extension()
1316 "device extension `ext_shader_subgroup_ballot`", in check_spirv_extension()
1321 if !(device.enabled_extensions().ext_shader_subgroup_vote) { in check_spirv_extension()
1323 "device extension `ext_shader_subgroup_vote`", in check_spirv_extension()
1328 if !(device.enabled_extensions().nv_sample_mask_override_coverage) { in check_spirv_extension()
1330 "device extension `nv_sample_mask_override_coverage`", in check_spirv_extension()
1335 if !(device.enabled_extensions().nv_geometry_shader_passthrough) { in check_spirv_extension()
1337 "device extension `nv_geometry_shader_passthrough`", in check_spirv_extension()
1342 if !(device.enabled_extensions().nv_mesh_shader) { in check_spirv_extension()
1344 "device extension `nv_mesh_shader`", in check_spirv_extension()
1349 if !(device.enabled_extensions().nv_viewport_array2) { in check_spirv_extension()
1351 "device extension `nv_viewport_array2`", in check_spirv_extension()
1356 if !(device.enabled_extensions().nv_shader_subgroup_partitioned) { in check_spirv_extension()
1358 "device extension `nv_shader_subgroup_partitioned`", in check_spirv_extension()
1363 if !(device in check_spirv_extension()
1368 "device extension `nv_ray_tracing_invocation_reorder`", in check_spirv_extension()
1373 if !(device.api_version() >= Version::V1_1 in check_spirv_extension()
1374 || device.enabled_extensions().ext_shader_viewport_index_layer) in check_spirv_extension()
1378 "device extension `ext_shader_viewport_index_layer`", in check_spirv_extension()
1383 if !(device in check_spirv_extension()
1388 "device extension `nvx_multiview_per_view_attributes`", in check_spirv_extension()
1393 if !(device.api_version() >= Version::V1_1 in check_spirv_extension()
1394 || device.enabled_extensions().ext_descriptor_indexing) in check_spirv_extension()
1398 "device extension `ext_descriptor_indexing`", in check_spirv_extension()
1403 if !(device.api_version() >= Version::V1_1 in check_spirv_extension()
1404 || device.enabled_extensions().khr_vulkan_memory_model) in check_spirv_extension()
1408 "device extension `khr_vulkan_memory_model`", in check_spirv_extension()
1413 if !(device.enabled_extensions().nv_compute_shader_derivatives) { in check_spirv_extension()
1415 "device extension `nv_compute_shader_derivatives`", in check_spirv_extension()
1420 if !(device.enabled_extensions().nv_fragment_shader_barycentric) { in check_spirv_extension()
1422 "device extension `nv_fragment_shader_barycentric`", in check_spirv_extension()
1427 if !(device.enabled_extensions().nv_shader_image_footprint) { in check_spirv_extension()
1429 "device extension `nv_shader_image_footprint`", in check_spirv_extension()
1434 if !(device.enabled_extensions().nv_shading_rate_image) { in check_spirv_extension()
1436 "device extension `nv_shading_rate_image`", in check_spirv_extension()
1441 if !(device.enabled_extensions().nv_ray_tracing) { in check_spirv_extension()
1443 "device extension `nv_ray_tracing`", in check_spirv_extension()
1448 if !(device.enabled_extensions().khr_ray_tracing_pipeline) { in check_spirv_extension()
1450 "device extension `khr_ray_tracing_pipeline`", in check_spirv_extension()
1455 if !(device.enabled_extensions().khr_ray_query) { in check_spirv_extension()
1457 "device extension `khr_ray_query`", in check_spirv_extension()
1462 if !(device.enabled_extensions().khr_ray_tracing_maintenance1) { in check_spirv_extension()
1464 "device extension `khr_ray_tracing_maintenance1`", in check_spirv_extension()
1469 if !(device.enabled_extensions().google_hlsl_functionality1) { in check_spirv_extension()
1471 "device extension `google_hlsl_functionality1`", in check_spirv_extension()
1476 if !(device.enabled_extensions().google_user_type) { in check_spirv_extension()
1478 "device extension `google_user_type`", in check_spirv_extension()
1483 if !(device.enabled_extensions().google_decorate_string) { in check_spirv_extension()
1485 "device extension `google_decorate_string`", in check_spirv_extension()
1490 if !(device.enabled_extensions().ext_fragment_density_map) { in check_spirv_extension()
1492 "device extension `ext_fragment_density_map`", in check_spirv_extension()
1497 if !(device.api_version() >= Version::V1_1 in check_spirv_extension()
1498 || device.enabled_extensions().khr_buffer_device_address) in check_spirv_extension()
1502 "device extension `khr_buffer_device_address`", in check_spirv_extension()
1507 if !(device.enabled_extensions().ext_buffer_device_address) { in check_spirv_extension()
1509 "device extension `ext_buffer_device_address`", in check_spirv_extension()
1514 if !(device.enabled_extensions().nv_cooperative_matrix) { in check_spirv_extension()
1516 "device extension `nv_cooperative_matrix`", in check_spirv_extension()
1521 if !(device.enabled_extensions().nv_shader_sm_builtins) { in check_spirv_extension()
1523 "device extension `nv_shader_sm_builtins`", in check_spirv_extension()
1528 if !(device.enabled_extensions().ext_fragment_shader_interlock) { in check_spirv_extension()
1530 "device extension `ext_fragment_shader_interlock`", in check_spirv_extension()
1535 if !(device.api_version() >= Version::V1_1 in check_spirv_extension()
1536 || device in check_spirv_extension()
1542 "device extension `ext_shader_demote_to_helper_invocation`", in check_spirv_extension()
1547 if !(device.enabled_extensions().khr_fragment_shading_rate) { in check_spirv_extension()
1549 "device extension `khr_fragment_shading_rate`", in check_spirv_extension()
1554 if !(device.api_version() >= Version::V1_1 in check_spirv_extension()
1555 || device.enabled_extensions().khr_shader_non_semantic_info) in check_spirv_extension()
1559 "device extension `khr_shader_non_semantic_info`", in check_spirv_extension()
1564 if !(device.enabled_extensions().ext_shader_image_atomic_int64) { in check_spirv_extension()
1566 "device extension `ext_shader_image_atomic_int64`", in check_spirv_extension()
1571 if !(device.api_version() >= Version::V1_1 in check_spirv_extension()
1572 || device.enabled_extensions().khr_shader_terminate_invocation) in check_spirv_extension()
1576 "device extension `khr_shader_terminate_invocation`", in check_spirv_extension()
1581 if !(device.api_version() >= Version::V1_1 || device.enabled_extensions().khr_multiview) in check_spirv_extension()
1585 "device extension `khr_multiview`", in check_spirv_extension()
1590 if !(device in check_spirv_extension()
1595 "device extension `khr_workgroup_memory_explicit_layout`", in check_spirv_extension()
1600 if !(device.enabled_extensions().ext_shader_atomic_float) { in check_spirv_extension()
1602 "device extension `ext_shader_atomic_float`", in check_spirv_extension()
1607 if !(device.enabled_extensions().khr_fragment_shader_barycentric) { in check_spirv_extension()
1609 "device extension `khr_fragment_shader_barycentric`", in check_spirv_extension()
1614 if !(device.api_version() >= Version::V1_1 in check_spirv_extension()
1615 || device in check_spirv_extension()
1621 "device extension `khr_shader_subgroup_uniform_control_flow`", in check_spirv_extension()
1626 if !(device.enabled_extensions().ext_shader_atomic_float2) { in check_spirv_extension()
1628 "device extension `ext_shader_atomic_float2`", in check_spirv_extension()
1633 if !(device.enabled_extensions().ext_shader_atomic_float2) { in check_spirv_extension()
1635 "device extension `ext_shader_atomic_float2`", in check_spirv_extension()
1640 if !(device.api_version() >= Version::V1_1 in check_spirv_extension()
1641 || device.enabled_extensions().khr_shader_integer_dot_product) in check_spirv_extension()
1645 "device extension `khr_shader_integer_dot_product`", in check_spirv_extension()
1650 if !(device.enabled_extensions().intel_shader_integer_functions2) { in check_spirv_extension()
1652 "device extension `intel_shader_integer_functions2`", in check_spirv_extension()
1657 if !(device.api_version() >= Version::V1_1 in check_spirv_extension()
1658 || device.enabled_extensions().khr_device_group) in check_spirv_extension()
1662 "device extension `khr_device_group`", in check_spirv_extension()
1667 if !(device.enabled_extensions().qcom_image_processing) { in check_spirv_extension()
1669 "device extension `qcom_image_processing`", in check_spirv_extension()
1674 if !(device.enabled_extensions().ext_mesh_shader) { in check_spirv_extension()
1676 "device extension `ext_mesh_shader`", in check_spirv_extension()