diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index 3671b087a9b..c8fe9d82e74 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -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