mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 23:18:20 +02:00
anv: Advertise support for MinLod on Skylake+
These are usually used for dealing with sparse resources but there's no reason why we can't hook them up before we have sparse. We have the hardware; let's light it up. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
This commit is contained in:
parent
cb98e0755f
commit
a10a450db2
2 changed files with 2 additions and 1 deletions
|
|
@ -865,7 +865,7 @@ void anv_GetPhysicalDeviceFeatures(
|
|||
.shaderInt64 = pdevice->info.gen >= 8 &&
|
||||
pdevice->info.has_64bit_types,
|
||||
.shaderInt16 = pdevice->info.gen >= 8,
|
||||
.shaderResourceMinLod = false,
|
||||
.shaderResourceMinLod = pdevice->info.gen >= 9,
|
||||
.variableMultisampleRate = true,
|
||||
.inheritedQueries = true,
|
||||
};
|
||||
|
|
|
|||
|
|
@ -142,6 +142,7 @@ anv_shader_compile_to_nir(struct anv_pipeline *pipeline,
|
|||
.device_group = true,
|
||||
.draw_parameters = true,
|
||||
.image_write_without_format = true,
|
||||
.min_lod = true,
|
||||
.multiview = true,
|
||||
.variable_pointers = true,
|
||||
.storage_16bit = device->instance->physicalDevice.info.gen >= 8,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue