diff options
author | Jason Ekstrand <[email protected]> | 2019-12-23 22:19:29 -0600 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2019-12-24 08:31:44 -0600 |
commit | ac70442ce1f061a42649f7c88c6a8d278fb73fb5 (patch) | |
tree | d1a62105b5ec76b4e3c33e9fe68fd80869d779e5 /src/intel/vulkan | |
parent | c411d4896c625e6538bf3a6681892256f352868e (diff) |
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 <[email protected]>
Diffstat (limited to 'src/intel/vulkan')
-rw-r--r-- | src/intel/vulkan/anv_device.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |