diff options
Diffstat (limited to 'src/gallium/frontends/lavapipe/lvp_device.c')
-rw-r--r-- | src/gallium/frontends/lavapipe/lvp_device.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/gallium/frontends/lavapipe/lvp_device.c b/src/gallium/frontends/lavapipe/lvp_device.c index 95965bc7c7f..91ed60d37b6 100644 --- a/src/gallium/frontends/lavapipe/lvp_device.c +++ b/src/gallium/frontends/lavapipe/lvp_device.c @@ -145,6 +145,7 @@ static const struct vk_device_extension_table lvp_device_extensions_supported = .EXT_index_type_uint8 = true, .EXT_multi_draw = true, .EXT_pipeline_creation_feedback = true, + .EXT_pipeline_creation_cache_control = true, .EXT_post_depth_coverage = true, .EXT_private_data = true, .EXT_primitive_topology_list_restart = true, @@ -694,6 +695,12 @@ VKAPI_ATTR void VKAPI_CALL lvp_GetPhysicalDeviceFeatures2( features->privateData = true; break; } + case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_PIPELINE_CREATION_CACHE_CONTROL_FEATURES: { + VkPhysicalDevicePipelineCreationCacheControlFeatures *features = + (VkPhysicalDevicePipelineCreationCacheControlFeatures *)ext; + features->pipelineCreationCacheControl = true; + break; + } case VK_STRUCTURE_TYPE_PHYSICAL_DEVICE_LINE_RASTERIZATION_FEATURES_EXT: { VkPhysicalDeviceLineRasterizationFeaturesEXT *features = (VkPhysicalDeviceLineRasterizationFeaturesEXT *)ext; |