hk: claim 1.4
Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32434>
This commit is contained in:
committed by
Marge Bot
parent
3f5086016b
commit
56acdca86d
@@ -20,7 +20,7 @@ hk_EnumerateInstanceVersion(uint32_t *pApiVersion)
|
||||
{
|
||||
uint32_t version_override = vk_get_version_override();
|
||||
*pApiVersion = version_override ? version_override
|
||||
: VK_MAKE_VERSION(1, 3, VK_HEADER_VERSION);
|
||||
: VK_MAKE_VERSION(1, 4, VK_HEADER_VERSION);
|
||||
|
||||
return VK_SUCCESS;
|
||||
}
|
||||
|
||||
@@ -41,7 +41,7 @@ hk_get_vk_version()
|
||||
if (version_override)
|
||||
return version_override;
|
||||
|
||||
return VK_MAKE_VERSION(1, 3, VK_HEADER_VERSION);
|
||||
return VK_MAKE_VERSION(1, 4, VK_HEADER_VERSION);
|
||||
}
|
||||
|
||||
static void
|
||||
@@ -351,6 +351,9 @@ hk_get_device_features(
|
||||
.shaderIntegerDotProduct = true,
|
||||
.maintenance4 = true,
|
||||
|
||||
/* Vulkan 1.4 */
|
||||
.pushDescriptor = true,
|
||||
|
||||
/* VK_KHR_dynamic_rendering_local_read */
|
||||
.dynamicRenderingLocalRead = true,
|
||||
|
||||
@@ -768,7 +771,7 @@ hk_get_device_properties(const struct agx_device *dev,
|
||||
.independentResolveNone = true,
|
||||
.independentResolve = true,
|
||||
.driverID = VK_DRIVER_ID_MESA_HONEYKRISP,
|
||||
.conformanceVersion = (VkConformanceVersion){1, 3, 8, 3},
|
||||
.conformanceVersion = (VkConformanceVersion){1, 4, 0, 0},
|
||||
.denormBehaviorIndependence = VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_ALL,
|
||||
.roundingModeIndependence = VK_SHADER_FLOAT_CONTROLS_INDEPENDENCE_ALL,
|
||||
.shaderSignedZeroInfNanPreserveFloat16 = true,
|
||||
@@ -837,6 +840,10 @@ hk_get_device_properties(const struct agx_device *dev,
|
||||
.uniformTexelBufferOffsetSingleTexelAlignment = true,
|
||||
.maxBufferSize = HK_MAX_BUFFER_SIZE,
|
||||
|
||||
/* Vulkan 1.4 properties */
|
||||
.dynamicRenderingLocalReadDepthStencilAttachments = false,
|
||||
.dynamicRenderingLocalReadMultisampledAttachments = true,
|
||||
|
||||
/* VK_KHR_push_descriptor */
|
||||
.maxPushDescriptors = HK_MAX_PUSH_DESCRIPTORS,
|
||||
|
||||
|
||||
@@ -116,7 +116,7 @@ asahi_icd = custom_target(
|
||||
output : 'asahi_icd.@0@.json'.format(host_machine.cpu()),
|
||||
command : [
|
||||
prog_python, '@INPUT0@',
|
||||
'--api-version', '1.3', '--xml', '@INPUT1@',
|
||||
'--api-version', '1.4', '--xml', '@INPUT1@',
|
||||
'--lib-path', join_paths(icd_lib_path, icd_file_name),
|
||||
'--out', '@OUTPUT@',
|
||||
],
|
||||
@@ -133,7 +133,7 @@ custom_target(
|
||||
output : _dev_icdname,
|
||||
command : [
|
||||
prog_python, '@INPUT0@',
|
||||
'--api-version', '1.3', '--xml', '@INPUT1@',
|
||||
'--api-version', '1.4', '--xml', '@INPUT1@',
|
||||
'--lib-path', meson.current_build_dir() / icd_file_name,
|
||||
'--out', '@OUTPUT@',
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user