⚠️ DRAFT — not ready for pickup. Title still being refined; do not assign or start work yet.
Background
PRs #1239 + #1256 + #1257 cover Texture2DArray end-to-end on DX and VK (Load + Store, multi-slice + multi-mip, per-slice 256-aligned upload helper). The remaining AC bullets on #1077 still call out Texture1DArray, TextureCubeArray, and RWTextureCubeArray as required variants — not delivered.
These were not folded into the existing array-texture PRs because they have distinct SRV/UAV dimensions (TEXTURE1DARRAY, TEXTURECUBEARRAY), distinct VK image-create flags (VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT), and a different number of slices per logical array element (cube = 6). Bolting them onto #1239/#1256/#1257 would obscure the "Tex2DArray works end-to-end" milestone.
Acceptance criteria
Notes
Refs #1077, llvm/wg-hlsl#400.
Background
PRs #1239 + #1256 + #1257 cover
Texture2DArrayend-to-end on DX and VK (Load + Store, multi-slice + multi-mip, per-slice 256-aligned upload helper). The remaining AC bullets on #1077 still call outTexture1DArray,TextureCubeArray, andRWTextureCubeArrayas required variants — not delivered.These were not folded into the existing array-texture PRs because they have distinct SRV/UAV dimensions (
TEXTURE1DARRAY,TEXTURECUBEARRAY), distinct VK image-create flags (VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT), and a different number of slices per logical array element (cube = 6). Bolting them onto #1239/#1256/#1257 would obscure the "Tex2DArray works end-to-end" milestone.Acceptance criteria
ResourceKind::Texture1DArray,TextureCubeArray,RWTextureCubeArraytoinclude/API/Enums.h.lib/Support/Pipeline.cppto accept the new kinds.getDXDimension/getResourceDescription/getSRVDescription/getUAVDescription(and the per-slice upload helper from [DX] Unify multi-subresource texture upload + Texture2DArray multi-mip support (stacked) #1256) forTEXTURE1DARRAYandTEXTURECUBEARRAYsemantics. Cube usesDepthOrArraySize = 6*NwithD3D12_SRV_DIMENSION_TEXTURECUBEARRAY/D3D12_UAV_DIMENSION_TEXTURE2DARRAY(cube UAVs are exposed as 2D arrays).getVkImageType/getVkImageViewTypeand addVK_IMAGE_CREATE_CUBE_COMPATIBLE_BITfor cube;VK_IMAGE_VIEW_TYPE_1D_ARRAY/_CUBE_ARRAY.llvm_unreachablestub for convergence).test/Feature/Textures/.Notes
Texture2DMSArrayis adjacent and tracked separately at Add tests for Texture2DMSArray #1141.Refs #1077, llvm/wg-hlsl#400.