瀏覽代碼

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 年之前
父節點
當前提交
ac70442ce1
共有 1 個文件被更改,包括 1 次插入 和 1 次删除
  1. 1
    1
      src/intel/vulkan/anv_device.c

+ 1
- 1
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,

Loading…
取消
儲存