diff --git a/docs/relnotes/new_features.txt b/docs/relnotes/new_features.txt index 051daf16d060..d2d179b1ac2c 100644 --- a/docs/relnotes/new_features.txt +++ b/docs/relnotes/new_features.txt @@ -78,3 +78,4 @@ GL_OES_draw_buffers_indexed on etnaviv/HALTI5 GL_OES_EGL_image_external_essl3 on etnaviv/HALTI5 GLES 3.0 on etnaviv/HALTI5 VK_QCOM_rotated_copy_commands on Turnip +VK_AMD_shader_core_properties2 on honeykrisp diff --git a/src/asahi/vulkan/hk_physical_device.c b/src/asahi/vulkan/hk_physical_device.c index ac48a0805b15..72850f945dc6 100644 --- a/src/asahi/vulkan/hk_physical_device.c +++ b/src/asahi/vulkan/hk_physical_device.c @@ -224,6 +224,7 @@ hk_get_device_extensions(const struct agx_device *dev, .KHR_vulkan_memory_model = true, .KHR_workgroup_memory_explicit_layout = true, .KHR_zero_initialize_workgroup_memory = true, + .AMD_shader_core_properties2 = true, .EXT_4444_formats = true, .EXT_attachment_feedback_loop_layout = true, .EXT_blend_operation_advanced = true, @@ -1434,6 +1435,9 @@ hk_get_device_properties(const struct agx_device *dev, .dynamicRenderingLocalReadDepthStencilAttachments = false, .dynamicRenderingLocalReadMultisampledAttachments = true, + /* VK_AMD_shader_core_properties2 */ + .activeComputeUnitCount = agx_get_num_cores(dev), + /* VK_KHR_push_descriptor */ .maxPushDescriptors = HK_MAX_PUSH_DESCRIPTORS,