Skip to content

[SPIRV][DirectX] Add Texture*Array type support #1077

@inbelic

Description

@inbelic

Required for testing of all Texture1DArray, Texture2DArray, TextureCubeArray, etc, array types and to ensure correct array texture sampling and indexing.

Current Status: Currently the values for DepthOrArraySize/arrayLayers are hard-coded to 1 and the resource kinds are not yet defined for either target.

The first step will be to refine the following acceptance criteria for refinement/estimation.

AC:

  • Allow YAML test configuration to specify array resources (e.g. an ArraySlices count and define the various array types)
  • DX: Set DepthOrArraySize from ArraySlices and use TEXTURE2DARRAY/TEXTURE1DARRAY/TEXTURECUBEARRAY SRV/UAV dimensions
  • VK: Set arrayLayers from ArraySlices and use VK_IMAGE_VIEW_TYPE_*_ARRAY types + VK_IMAGE_CREATE_CUBE_COMPATIBLE_BIT for cube arrays
  • DX/VK: Update texture upload/readback to iterate over array slices with correct subresource indexing
  • Add independent testing of functionality

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No fields configured for Task.

    Projects

    Status

    Planning

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions