summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_device.c
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2018-10-02 22:04:09 -0500
committerJason Ekstrand <[email protected]>2018-12-11 21:26:23 -0600
commita10a450db2a4d0ea21117d79b5e8956d8551132f (patch)
treef1ae2e26af46b03793eebfcd4a505038d4bbb882 /src/intel/vulkan/anv_device.c
parentcb98e0755f8d05a5a7f9134e39c625e8933746ea (diff)
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 <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_device.c')
-rw-r--r--src/intel/vulkan/anv_device.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c
index 6b5ba25c6bc..bc4dba888fb 100644
--- a/src/intel/vulkan/anv_device.c
+++ b/src/intel/vulkan/anv_device.c
@@ -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,
};