Mesa (main): radv: bump maxFragmentSizeAspectRatio to 2
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Tue Aug 10 07:41:27 UTC 2021
Module: Mesa
Branch: main
Commit: e7e8704611f997aa86de3c68b8cd386ac96fbbb1
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=e7e8704611f997aa86de3c68b8cd386ac96fbbb1
Author: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Date: Fri Aug 6 16:56:38 2021 +0200
radv: bump maxFragmentSizeAspectRatio to 2
Minimum required value is 2.
Signed-off-by: Samuel Pitoiset <samuel.pitoiset at gmail.com>
Reviewed-by: Bas Nieuwenhuizen <bas at basnieuwenhuizen.nl>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/12245>
---
src/amd/vulkan/radv_device.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/amd/vulkan/radv_device.c b/src/amd/vulkan/radv_device.c
index 3de60bc0c05..f7f91892ee6 100644
--- a/src/amd/vulkan/radv_device.c
+++ b/src/amd/vulkan/radv_device.c
@@ -2342,7 +2342,7 @@ radv_GetPhysicalDeviceProperties2(VkPhysicalDevice physicalDevice,
props->layeredShadingRateAttachments = false; /* TODO */
props->fragmentShadingRateNonTrivialCombinerOps = true;
props->maxFragmentSize = (VkExtent2D){2, 2};
- props->maxFragmentSizeAspectRatio = 1;
+ props->maxFragmentSizeAspectRatio = 2;
props->maxFragmentShadingRateCoverageSamples = 2 * 2;
props->maxFragmentShadingRateRasterizationSamples = VK_SAMPLE_COUNT_8_BIT;
props->fragmentShadingRateWithShaderDepthStencilWrites = false;
More information about the mesa-commit
mailing list