Update mipmap precision bits
The Vulkan 2022 profile dictates a stricter value for this limit. So
it has been updated to its new required minimum value.
Bug: b/236958019
Tests: dEQP-VK.*
Change-Id: Ic8497a2ce37b75c749a876efbd4f64ced29db276
Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/66968
Tested-by: Alexis Hétu <sugoi@google.com>
Commit-Queue: Alexis Hétu <sugoi@google.com>
Tested-by: Sean Risser <srisser@google.com>
Reviewed-by: Sean Risser <srisser@google.com>
Presubmit-Ready: Alexis Hétu <sugoi@google.com>
Reviewed-by: Antonio Maiorano <amaiorano@google.com>
Kokoro-Result: kokoro <noreply+kokoro@google.com>
Reviewed-by: Alexis Hétu <sugoi@google.com>
diff --git a/src/Vulkan/VkPhysicalDevice.cpp b/src/Vulkan/VkPhysicalDevice.cpp
index 24c616c..a8dc6e0 100644
--- a/src/Vulkan/VkPhysicalDevice.cpp
+++ b/src/Vulkan/VkPhysicalDevice.cpp
@@ -706,7 +706,7 @@
{ 256, 256, 64 }, // maxComputeWorkGroupSize[3]
vk::SUBPIXEL_PRECISION_BITS, // subPixelPrecisionBits
8, // subTexelPrecisionBits
- 4, // mipmapPrecisionBits
+ 6, // mipmapPrecisionBits
UINT32_MAX, // maxDrawIndexedIndexValue
UINT32_MAX, // maxDrawIndirectCount
vk::MAX_SAMPLER_LOD_BIAS, // maxSamplerLodBias