lavapipe: EXT_subgroup_size_control
Reviewed-by: Dave Airlie <airlied@redhat.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15354>
This commit is contained in:

committed by
Marge Bot

parent
f150bff04f
commit
741be76963
@@ -3,6 +3,9 @@
|
|||||||
dEQP-VK.rasterization.provoking_vertex.transform_feedback.first.line_strip_with_adjacency,Fail
|
dEQP-VK.rasterization.provoking_vertex.transform_feedback.first.line_strip_with_adjacency,Fail
|
||||||
dEQP-VK.rasterization.provoking_vertex.transform_feedback.per_pipeline.triangle_strip_with_adjacency,Fail
|
dEQP-VK.rasterization.provoking_vertex.transform_feedback.per_pipeline.triangle_strip_with_adjacency,Fail
|
||||||
|
|
||||||
|
# broken cts tests; fixes pending
|
||||||
|
dEQP-VK.subgroups.size_control.compute.required_subgroup_size_min_require_full_subgroups,Fail
|
||||||
|
|
||||||
#full list
|
#full list
|
||||||
dEQP-VK.api.driver_properties.conformance_version,Fail
|
dEQP-VK.api.driver_properties.conformance_version,Fail
|
||||||
dEQP-VK.fragment_operations.early_fragment.sample_count_early_fragment_tests_depth_samples_4,Fail
|
dEQP-VK.fragment_operations.early_fragment.sample_count_early_fragment_tests_depth_samples_4,Fail
|
||||||
|
@@ -158,6 +158,7 @@ static const struct vk_device_extension_table lvp_device_extensions_supported =
|
|||||||
.EXT_shader_demote_to_helper_invocation= true,
|
.EXT_shader_demote_to_helper_invocation= true,
|
||||||
.EXT_shader_stencil_export = true,
|
.EXT_shader_stencil_export = true,
|
||||||
.EXT_shader_viewport_index_layer = true,
|
.EXT_shader_viewport_index_layer = true,
|
||||||
|
.EXT_subgroup_size_control = true,
|
||||||
.EXT_texel_buffer_alignment = true,
|
.EXT_texel_buffer_alignment = true,
|
||||||
.EXT_transform_feedback = true,
|
.EXT_transform_feedback = true,
|
||||||
.EXT_vertex_attribute_divisor = true,
|
.EXT_vertex_attribute_divisor = true,
|
||||||
@@ -754,6 +755,15 @@ VKAPI_ATTR void VKAPI_CALL lvp_GetPhysicalDeviceFeatures2(
|
|||||||
features->maintenance4 = true;
|
features->maintenance4 = true;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_FEATURES: {
|
||||||
|
VkPhysicalDeviceSubgroupSizeControlFeatures *features =
|
||||||
|
(VkPhysicalDeviceSubgroupSizeControlFeatures *)ext;
|
||||||
|
features->subgroupSizeControl = true;
|
||||||
|
features->computeFullSubgroups = true;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLIP_CONTROL_FEATURES_EXT: {
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_DEPTH_CLIP_CONTROL_FEATURES_EXT: {
|
||||||
VkPhysicalDeviceDepthClipControlFeaturesEXT *features =
|
VkPhysicalDeviceDepthClipControlFeaturesEXT *features =
|
||||||
(VkPhysicalDeviceDepthClipControlFeaturesEXT *)ext;
|
(VkPhysicalDeviceDepthClipControlFeaturesEXT *)ext;
|
||||||
@@ -1117,6 +1127,14 @@ VKAPI_ATTR void VKAPI_CALL lvp_GetPhysicalDeviceProperties2(
|
|||||||
properties->maxCustomBorderColorSamplers = 32 * 1024;
|
properties->maxCustomBorderColorSamplers = 32 * 1024;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_SUBGROUP_SIZE_CONTROL_PROPERTIES: {
|
||||||
|
VkPhysicalDeviceSubgroupSizeControlProperties *props = (VkPhysicalDeviceSubgroupSizeControlProperties *)ext;
|
||||||
|
props->minSubgroupSize = lp_native_vector_width / 32;
|
||||||
|
props->maxSubgroupSize = lp_native_vector_width / 32;
|
||||||
|
props->maxComputeWorkgroupSubgroups = 32;
|
||||||
|
props->requiredSubgroupSizeStages = VK_SHADER_STAGE_FRAGMENT_BIT | VK_SHADER_STAGE_COMPUTE_BIT;
|
||||||
|
break;
|
||||||
|
}
|
||||||
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROVOKING_VERTEX_PROPERTIES_EXT: {
|
case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PROVOKING_VERTEX_PROPERTIES_EXT: {
|
||||||
VkPhysicalDeviceProvokingVertexPropertiesEXT *properties =
|
VkPhysicalDeviceProvokingVertexPropertiesEXT *properties =
|
||||||
(VkPhysicalDeviceProvokingVertexPropertiesEXT*)ext;
|
(VkPhysicalDeviceProvokingVertexPropertiesEXT*)ext;
|
||||||
|
Reference in New Issue
Block a user