From: Jason Ekstrand Date: Tue, 24 Dec 2019 04:19:29 +0000 (-0600) Subject: anv: Properly advertise sampledImageIntegerSampleCounts X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ac70442ce1f061a42649f7c88c6a8d278fb73fb5;p=mesa.git anv: Properly advertise sampledImageIntegerSampleCounts We support the same set of samples for integer color formats as for non-integer. We've been advertising it wrong since before the initial Vulkan 1.0 release. :-( Fixes: d68974530371 "vk/0.210.0: Rework device features and limits" Reviewed-by: Lionel Landwerlin --- diff --git a/src/intel/vulkan/anv_device.c b/src/intel/vulkan/anv_device.c index e8ed58cafba..3b4f40a998d 100644 --- a/src/intel/vulkan/anv_device.c +++ b/src/intel/vulkan/anv_device.c @@ -1408,7 +1408,7 @@ void anv_GetPhysicalDeviceProperties( .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,