Browse Source

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: d689745303 "vk/0.210.0: Rework device features and limits"
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
master
Jason Ekstrand 6 years ago
parent
commit
ac70442ce1
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      src/intel/vulkan/anv_device.c

+ 1
- 1
src/intel/vulkan/anv_device.c View File

.framebufferNoAttachmentsSampleCounts = sample_counts, .framebufferNoAttachmentsSampleCounts = sample_counts,
.maxColorAttachments = MAX_RTS, .maxColorAttachments = MAX_RTS,
.sampledImageColorSampleCounts = sample_counts, .sampledImageColorSampleCounts = sample_counts,
.sampledImageIntegerSampleCounts = VK_SAMPLE_COUNT_1_BIT,
.sampledImageIntegerSampleCounts = sample_counts,
.sampledImageDepthSampleCounts = sample_counts, .sampledImageDepthSampleCounts = sample_counts,
.sampledImageStencilSampleCounts = sample_counts, .sampledImageStencilSampleCounts = sample_counts,
.storageImageSampleCounts = VK_SAMPLE_COUNT_1_BIT, .storageImageSampleCounts = VK_SAMPLE_COUNT_1_BIT,

Loading…
Cancel
Save