Mesa (6494-turnip-use-after-free-in-shader-compilation): turnip: fix sampledImageIntegerSampleCounts
GitLab Mirror
gitlab-mirror at kemper.freedesktop.org
Mon May 16 20:21:15 UTC 2022
Module: Mesa
Branch: 6494-turnip-use-after-free-in-shader-compilation
Commit: 0b7751babfeb3f105f799d72ab967224cec4bddf
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=0b7751babfeb3f105f799d72ab967224cec4bddf
Author: Chia-I Wu <olvaffe at gmail.com>
Date: Thu May 12 17:32:42 2022 -0700
turnip: fix sampledImageIntegerSampleCounts
It seems fine to advertise msaa in sampledImageIntegerSampleCounts.
dEQP-VK.rasterization.rasterization_order_attachment_access.format_integer.*
goes from NotSupported to Pass for more test cases.
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/16487>
---
src/freedreno/vulkan/tu_device.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/freedreno/vulkan/tu_device.c b/src/freedreno/vulkan/tu_device.c
index 441a673a197..fe166e70cf2 100644
--- a/src/freedreno/vulkan/tu_device.c
+++ b/src/freedreno/vulkan/tu_device.c
@@ -1173,7 +1173,7 @@ tu_GetPhysicalDeviceProperties2(VkPhysicalDevice physicalDevice,
.framebufferNoAttachmentsSampleCounts = sample_counts,
.maxColorAttachments = MAX_RTS,
.sampledImageColorSampleCounts = sample_counts,
- .sampledImageIntegerSampleCounts = VK_SAMPLE_COUNT_1_BIT,
+ .sampledImageIntegerSampleCounts = sample_counts,
.sampledImageDepthSampleCounts = sample_counts,
.sampledImageStencilSampleCounts = sample_counts,
.storageImageSampleCounts = VK_SAMPLE_COUNT_1_BIT,
More information about the mesa-commit
mailing list