anv: VK_EXT_legacy_vertex_attributes

Reviewed-by: Sagar Ghuge <sagar.ghuge@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29070>
This commit is contained in:
Lionel Landwerlin
2024-03-28 16:16:50 +02:00
parent 3d20245f43
commit 8c1cc405d3

View File

@@ -371,6 +371,7 @@ get_device_extensions(const struct anv_physical_device *device,
.EXT_image_view_min_lod = true,
.EXT_index_type_uint8 = true,
.EXT_inline_uniform_block = true,
.EXT_legacy_vertex_attributes = true,
.EXT_line_rasterization = true,
.EXT_load_store_op_none = true,
.EXT_map_memory_placed = device->info.has_mmap_offset,
@@ -932,6 +933,9 @@ get_features(const struct anv_physical_device *pdevice,
/* VK_KHR_shader_float_controls2 */
.shaderFloatControls2 = true,
/* VK_EXT_legacy_vertex_attributes */
.legacyVertexAttributes = true,
};
/* The new DOOM and Wolfenstein games require depthBounds without
@@ -1607,6 +1611,11 @@ get_properties(const struct anv_physical_device *pdevice,
props->graphicsPipelineLibraryIndependentInterpolationDecoration = true;
}
/* VK_EXT_legacy_vertex_attributes */
{
props->nativeUnalignedPerformance = true;
}
/* VK_EXT_line_rasterization */
{
/* In the Skylake PRM Vol. 7, subsection titled "GIQ (Diamond) Sampling