mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-20 22:30:12 +01:00
anv: enable KHR_pipeline_binary support
Signed-off-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com> Closes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/12802 Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/36647>
This commit is contained in:
parent
cb7df84430
commit
21aafaea16
4 changed files with 58 additions and 0 deletions
|
|
@ -4,3 +4,18 @@ dEQP-VK.sparse_resources.buffer.ssbo.sparse_residency.buffer_size_2_24,Crash
|
||||||
# This is a bug of CTS: https://gitlab.khronos.org/Tracker/vk-gl-cts/issues/6033
|
# This is a bug of CTS: https://gitlab.khronos.org/Tracker/vk-gl-cts/issues/6033
|
||||||
dEQP-VK.video.capabilities.av1_decode_dst_video_format_support_query,Fail
|
dEQP-VK.video.capabilities.av1_decode_dst_video_format_support_query,Fail
|
||||||
dEQP-VK.video.capabilities.av1_decode_dpb_video_format_support_query,Fail
|
dEQP-VK.video.capabilities.av1_decode_dpb_video_format_support_query,Fail
|
||||||
|
|
||||||
|
# https://gitlab.khronos.org/Tracker/vk-gl-cts/-/issues/5926
|
||||||
|
dEQP-VK.pipeline.pipeline_library.pipeline_binary.graphics_tests.vertex_stage_fragment_stage,Crash
|
||||||
|
dEQP-VK.pipeline.pipeline_library.pipeline_binary.graphics_tests.vertex_stage_geometry_stage_fragment_stage,Crash
|
||||||
|
dEQP-VK.pipeline.pipeline_library.pipeline_binary.graphics_tests.vertex_stage_tessellation_control_stage_tessellation_evaluation_stage_fragment_stage,Crash
|
||||||
|
dEQP-VK.pipeline.pipeline_library.pipeline_binary.pipeline_from_get_data.vertex_stage_fragment_stage,Crash
|
||||||
|
dEQP-VK.pipeline.pipeline_library.pipeline_binary.pipeline_from_get_data.vertex_stage_geometry_stage_fragment_stage,Crash
|
||||||
|
dEQP-VK.pipeline.pipeline_library.pipeline_binary.pipeline_from_get_data.vertex_stage_tessellation_control_stage_tessellation_evaluation_stage_fragment_stage,Crash
|
||||||
|
dEQP-VK.pipeline.pipeline_library.pipeline_binary.creation_feedback.graphics_tests.vertex_stage_fragment_stage,Crash
|
||||||
|
dEQP-VK.pipeline.pipeline_library.pipeline_binary.creation_feedback.graphics_tests.vertex_stage_fragment_stage_zero_out_feedback_cout,Crash
|
||||||
|
dEQP-VK.pipeline.pipeline_library.pipeline_binary.creation_feedback.graphics_tests.vertex_stage_geometry_stage_fragment_stage,Crash
|
||||||
|
dEQP-VK.pipeline.pipeline_library.pipeline_binary.creation_feedback.graphics_tests.vertex_stage_tessellation_control_stage_tessellation_evaluation_stage_fragment_stage,Crash
|
||||||
|
dEQP-VK.pipeline.pipeline_library.pipeline_binary.creation_feedback.graphics_tests.vertex_stage_fragment_stage_delayed_destroy,Crash
|
||||||
|
dEQP-VK.pipeline.pipeline_library.pipeline_binary.creation_feedback.graphics_tests.vertex_stage_geometry_stage_fragment_stage_delayed_destroy,Crash
|
||||||
|
dEQP-VK.pipeline.pipeline_library.pipeline_binary.creation_feedback.graphics_tests.vertex_stage_tessellation_control_stage_tessellation_evaluation_stage_fragment_stage_delayed_destroy,Crash
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,18 @@
|
||||||
# This is a bug of CTS: https://gitlab.khronos.org/Tracker/vk-gl-cts/issues/6033
|
# This is a bug of CTS: https://gitlab.khronos.org/Tracker/vk-gl-cts/issues/6033
|
||||||
dEQP-VK.video.capabilities.av1_decode_dst_video_format_support_query,Fail
|
dEQP-VK.video.capabilities.av1_decode_dst_video_format_support_query,Fail
|
||||||
dEQP-VK.video.capabilities.av1_decode_dpb_video_format_support_query,Fail
|
dEQP-VK.video.capabilities.av1_decode_dpb_video_format_support_query,Fail
|
||||||
|
|
||||||
|
# https://gitlab.khronos.org/Tracker/vk-gl-cts/-/issues/5926
|
||||||
|
dEQP-VK.pipeline.pipeline_library.pipeline_binary.graphics_tests.vertex_stage_fragment_stage,Crash
|
||||||
|
dEQP-VK.pipeline.pipeline_library.pipeline_binary.graphics_tests.vertex_stage_geometry_stage_fragment_stage,Crash
|
||||||
|
dEQP-VK.pipeline.pipeline_library.pipeline_binary.graphics_tests.vertex_stage_tessellation_control_stage_tessellation_evaluation_stage_fragment_stage,Crash
|
||||||
|
dEQP-VK.pipeline.pipeline_library.pipeline_binary.pipeline_from_get_data.vertex_stage_fragment_stage,Crash
|
||||||
|
dEQP-VK.pipeline.pipeline_library.pipeline_binary.pipeline_from_get_data.vertex_stage_geometry_stage_fragment_stage,Crash
|
||||||
|
dEQP-VK.pipeline.pipeline_library.pipeline_binary.pipeline_from_get_data.vertex_stage_tessellation_control_stage_tessellation_evaluation_stage_fragment_stage,Crash
|
||||||
|
dEQP-VK.pipeline.pipeline_library.pipeline_binary.creation_feedback.graphics_tests.vertex_stage_fragment_stage,Crash
|
||||||
|
dEQP-VK.pipeline.pipeline_library.pipeline_binary.creation_feedback.graphics_tests.vertex_stage_fragment_stage_zero_out_feedback_cout,Crash
|
||||||
|
dEQP-VK.pipeline.pipeline_library.pipeline_binary.creation_feedback.graphics_tests.vertex_stage_geometry_stage_fragment_stage,Crash
|
||||||
|
dEQP-VK.pipeline.pipeline_library.pipeline_binary.creation_feedback.graphics_tests.vertex_stage_tessellation_control_stage_tessellation_evaluation_stage_fragment_stage,Crash
|
||||||
|
dEQP-VK.pipeline.pipeline_library.pipeline_binary.creation_feedback.graphics_tests.vertex_stage_fragment_stage_delayed_destroy,Crash
|
||||||
|
dEQP-VK.pipeline.pipeline_library.pipeline_binary.creation_feedback.graphics_tests.vertex_stage_geometry_stage_fragment_stage_delayed_destroy,Crash
|
||||||
|
dEQP-VK.pipeline.pipeline_library.pipeline_binary.creation_feedback.graphics_tests.vertex_stage_tessellation_control_stage_tessellation_evaluation_stage_fragment_stage_delayed_destroy,Crash
|
||||||
|
|
|
||||||
|
|
@ -2,3 +2,17 @@
|
||||||
dEQP-VK.video.capabilities.av1_decode_dst_video_format_support_query,Fail
|
dEQP-VK.video.capabilities.av1_decode_dst_video_format_support_query,Fail
|
||||||
dEQP-VK.video.capabilities.av1_decode_dpb_video_format_support_query,Fail
|
dEQP-VK.video.capabilities.av1_decode_dpb_video_format_support_query,Fail
|
||||||
|
|
||||||
|
# https://gitlab.khronos.org/Tracker/vk-gl-cts/-/issues/5926
|
||||||
|
dEQP-VK.pipeline.pipeline_library.pipeline_binary.graphics_tests.vertex_stage_fragment_stage,Crash
|
||||||
|
dEQP-VK.pipeline.pipeline_library.pipeline_binary.graphics_tests.vertex_stage_geometry_stage_fragment_stage,Crash
|
||||||
|
dEQP-VK.pipeline.pipeline_library.pipeline_binary.graphics_tests.vertex_stage_tessellation_control_stage_tessellation_evaluation_stage_fragment_stage,Crash
|
||||||
|
dEQP-VK.pipeline.pipeline_library.pipeline_binary.pipeline_from_get_data.vertex_stage_fragment_stage,Crash
|
||||||
|
dEQP-VK.pipeline.pipeline_library.pipeline_binary.pipeline_from_get_data.vertex_stage_geometry_stage_fragment_stage,Crash
|
||||||
|
dEQP-VK.pipeline.pipeline_library.pipeline_binary.pipeline_from_get_data.vertex_stage_tessellation_control_stage_tessellation_evaluation_stage_fragment_stage,Crash
|
||||||
|
dEQP-VK.pipeline.pipeline_library.pipeline_binary.creation_feedback.graphics_tests.vertex_stage_fragment_stage,Crash
|
||||||
|
dEQP-VK.pipeline.pipeline_library.pipeline_binary.creation_feedback.graphics_tests.vertex_stage_fragment_stage_zero_out_feedback_cout,Crash
|
||||||
|
dEQP-VK.pipeline.pipeline_library.pipeline_binary.creation_feedback.graphics_tests.vertex_stage_geometry_stage_fragment_stage,Crash
|
||||||
|
dEQP-VK.pipeline.pipeline_library.pipeline_binary.creation_feedback.graphics_tests.vertex_stage_tessellation_control_stage_tessellation_evaluation_stage_fragment_stage,Crash
|
||||||
|
dEQP-VK.pipeline.pipeline_library.pipeline_binary.creation_feedback.graphics_tests.vertex_stage_fragment_stage_delayed_destroy,Crash
|
||||||
|
dEQP-VK.pipeline.pipeline_library.pipeline_binary.creation_feedback.graphics_tests.vertex_stage_geometry_stage_fragment_stage_delayed_destroy,Crash
|
||||||
|
dEQP-VK.pipeline.pipeline_library.pipeline_binary.creation_feedback.graphics_tests.vertex_stage_tessellation_control_stage_tessellation_evaluation_stage_fragment_stage_delayed_destroy,Crash
|
||||||
|
|
|
||||||
|
|
@ -207,6 +207,7 @@ get_device_extensions(const struct anv_physical_device *device,
|
||||||
(intel_perf_has_hold_preemption(device->perf) ||
|
(intel_perf_has_hold_preemption(device->perf) ||
|
||||||
INTEL_DEBUG(DEBUG_NO_OACONFIG)) &&
|
INTEL_DEBUG(DEBUG_NO_OACONFIG)) &&
|
||||||
!(device->instance->debug & ANV_DEBUG_NO_SECONDARY_CALL),
|
!(device->instance->debug & ANV_DEBUG_NO_SECONDARY_CALL),
|
||||||
|
.KHR_pipeline_binary = true,
|
||||||
.KHR_pipeline_executable_properties = true,
|
.KHR_pipeline_executable_properties = true,
|
||||||
.KHR_pipeline_library = true,
|
.KHR_pipeline_library = true,
|
||||||
#ifdef ANV_USE_WSI_PLATFORM
|
#ifdef ANV_USE_WSI_PLATFORM
|
||||||
|
|
@ -996,6 +997,9 @@ get_features(const struct anv_physical_device *pdevice,
|
||||||
|
|
||||||
/* VK_KHR_maintenance10 */
|
/* VK_KHR_maintenance10 */
|
||||||
.maintenance10 = true,
|
.maintenance10 = true,
|
||||||
|
|
||||||
|
/* VK_KHR_pipeline_binary */
|
||||||
|
.pipelineBinaries = true,
|
||||||
};
|
};
|
||||||
|
|
||||||
/* The new DOOM and Wolfenstein games require depthBounds without
|
/* The new DOOM and Wolfenstein games require depthBounds without
|
||||||
|
|
@ -1563,6 +1567,16 @@ get_properties(const struct anv_physical_device *pdevice,
|
||||||
props->allowCommandBufferQueryCopies = false;
|
props->allowCommandBufferQueryCopies = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* VK_KHR_pipeline_binary */
|
||||||
|
{
|
||||||
|
const bool has_disk_cache = pdevice->vk.disk_cache != NULL;
|
||||||
|
props->pipelineBinaryInternalCache = has_disk_cache;
|
||||||
|
props->pipelineBinaryInternalCacheControl = has_disk_cache;
|
||||||
|
props->pipelineBinaryPrefersInternalCache = has_disk_cache;
|
||||||
|
props->pipelineBinaryPrecompiledInternalCache = has_disk_cache;
|
||||||
|
props->pipelineBinaryCompressedData = false;
|
||||||
|
}
|
||||||
|
|
||||||
/* VK_KHR_push_descriptor */
|
/* VK_KHR_push_descriptor */
|
||||||
{
|
{
|
||||||
props->maxPushDescriptors = MAX_PUSH_DESCRIPTORS;
|
props->maxPushDescriptors = MAX_PUSH_DESCRIPTORS;
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue