mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-21 18:00:13 +01:00
venus: enable VK_EXT_image_view_min_lod
Signed-off-by: Ryan Neph <ryanneph@google.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17227>
This commit is contained in:
parent
f862cc070f
commit
8b81098519
2 changed files with 4 additions and 0 deletions
|
|
@ -143,6 +143,8 @@ vn_physical_device_init_features(struct vn_physical_device *physical_dev)
|
|||
CUSTOM_BORDER_COLOR_FEATURES_EXT, features2);
|
||||
VN_ADD_EXT_TO_PNEXT(exts->EXT_depth_clip_enable, feats->depth_clip_enable,
|
||||
DEPTH_CLIP_ENABLE_FEATURES_EXT, features2);
|
||||
VN_ADD_EXT_TO_PNEXT(exts->EXT_image_view_min_lod, feats->image_view_min_lod,
|
||||
IMAGE_VIEW_MIN_LOD_FEATURES_EXT, features2);
|
||||
VN_ADD_EXT_TO_PNEXT(exts->EXT_index_type_uint8, feats->index_type_uint8,
|
||||
INDEX_TYPE_UINT8_FEATURES_EXT, features2);
|
||||
VN_ADD_EXT_TO_PNEXT(exts->EXT_line_rasterization,
|
||||
|
|
@ -992,6 +994,7 @@ vn_physical_device_get_passthrough_extensions(
|
|||
#ifndef ANDROID
|
||||
.EXT_image_drm_format_modifier = true,
|
||||
#endif
|
||||
.EXT_image_view_min_lod = true,
|
||||
.EXT_index_type_uint8 = true,
|
||||
.EXT_line_rasterization = true,
|
||||
.EXT_provoking_vertex = true,
|
||||
|
|
|
|||
|
|
@ -34,6 +34,7 @@ struct vn_physical_device_features {
|
|||
VkPhysicalDeviceConditionalRenderingFeaturesEXT conditional_rendering;
|
||||
VkPhysicalDeviceCustomBorderColorFeaturesEXT custom_border_color;
|
||||
VkPhysicalDeviceDepthClipEnableFeaturesEXT depth_clip_enable;
|
||||
VkPhysicalDeviceImageViewMinLodFeaturesEXT image_view_min_lod;
|
||||
VkPhysicalDeviceIndexTypeUint8FeaturesEXT index_type_uint8;
|
||||
VkPhysicalDeviceLineRasterizationFeaturesEXT line_rasterization;
|
||||
VkPhysicalDeviceProvokingVertexFeaturesEXT provoking_vertex;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue