File tree Expand file tree Collapse file tree 1 file changed +34
-1
lines changed
Expand file tree Collapse file tree 1 file changed +34
-1
lines changed Original file line number Diff line number Diff line change @@ -50,4 +50,37 @@ BufferView
5050``offset `` 必须是 ``VkPhysicalDeviceLimits::uniformTexelBufferOffsetAlignmentBytes `` 或 在 ``VkPhysicalDeviceTexelBufferAlignmentProperties::uniformTexelBufferOffsetSingleTexelAlignment `` 为 ``VK_TRUE `` 的条件下,
5151格式要求的 ``texel `` 大小中的较小值。如果 ``texel `` 的大小是 ``3 byte `` 倍数,则使用格式中单组件(通道?)的大小?
5252
53- BufferView 文档阅读完毕
53+ BufferView 文档阅读完毕
54+
55+ ---
56+
57+ VkImageCreateInfo::arrayLayers
58+
59+ ``RTX 3070 `` 显卡中 ``VkPhysicalDeviceLimits::maxImageArrayLayers `` 为 ``2048 `` (标准要求最小为 ``256 `` ,如果满足 ``Roadmap 2022 `` 则最小为 ``2048 ``)
60+
61+ * ``arrayLayers `` 必须要大于 ``0 `` (不能为 ``0 `` )
62+ * ``arrayLayers `` 必须小于等于 ``imageCreateMaxArrayLayers ``
63+ * 如果 ``imageType `` 是 ``3D `` , ``arrayLayers `` 必须是 ``1 ``
64+
65+ 如果 ``tiling `` 是 ``LINEAR `` 的话,有如下要求:
66+
67+ * ``imageType `` 是 ``2D ``
68+ * ``format `` 不能是 ``depth/stencil `` 格式
69+ * ``mipLevel `` 是 ``1 ``
70+ * ``arrayLayers `` 是 ``1 ``
71+ * ``samples `` 是 ``COUNT_1_BIT ``
72+ * ``usage `` 只能是 ``TRANSFER_SRC_BIT `` 和/或 ``TRANSFER_DST_BIT ``
73+
74+ 如果格式是 ``Y'CBCR `` ,有如下要求:
75+
76+ * ``imageType `` 是 ``2D ``
77+ * ``mipLevel `` 是 ``1 ``
78+ * ``arrayLayers `` 是 ``1 `` ,要么就是 ``VkImageFormatProperties::maxArrayLayers ``
79+ * ``samples `` 是 ``COUNT_1_BIT ``
80+
81+ 如果 ``flags `` 包含 ``VK_IMAGE_CREATE_SPLIT_INSTANCE_BIND_REGIONS_BIT `` ,有如下要求:
82+
83+ * ``mipLevels `` 必须是 ``1 ``
84+ * ``arrayLayers `` 必须是 ``1 ``
85+ * ``imageType `` 必须是 ``VK_IMAGE_TYPE_2D ``
86+ * ``imageCreateMaybeLinear `` 必须是 ``VK_FALSE ``
You can’t perform that action at this time.
0 commit comments