References
Description
Add runtime GPU offload tests for Texture2DMSArray. This is a multisampled arrayed 2D texture that only supports Load (with sample index), operator[], GetDimensions, and GetSamplePosition. It does not support Sample, Gather, CalculateLevelOfDetail, or mips.
Tasks
References
offload-test-suite/test/Feature/Textures/Texture2D.*.test.yamlDescription
Add runtime GPU offload tests for
Texture2DMSArray. This is a multisampled arrayed 2D texture that only supportsLoad(with sample index),operator[],GetDimensions, andGetSamplePosition. It does not support Sample, Gather, CalculateLevelOfDetail, or mips.Tasks
Add
Texture2DMSArrayto offload-test-suiteResourceKindoffload-test-suite/include/Support/Pipeline.h— addTexture2DMSArraytoResourceKindenum, update all helper methods andScalarEnumerationTraitsoffload-test-suite/lib/API/VK/Device.cpp— addTexture2DMSArraycases:VkDescriptorType,VkImageViewType(VK_IMAGE_VIEW_TYPE_2D_ARRAY), image creation withVK_SAMPLE_COUNT_*and array layersoffload-test-suite/lib/API/DX/Device.cpp— addTexture2DMSArraycases:D3D12_SRV_DIMENSION_TEXTURE2DMSARRAY, SRV descriptor setupoffload-test-suite/lib/API/MTL/MTLDevice.cpp— addTexture2DMSArraycase for Metal texture type mapping (MTLTextureType2DMultisampleArray)Write tests (
offload-test-suite/test/Feature/Textures/)Texture2DMSArray.Load.test.yaml—Load(int3, int)andLoad(int3, int, int2)with different sample indices and array slicesTexture2DMSArray.OperatorIndex.test.yaml—Tex[int3]subscript across array slicesTexture2DMSArray.sample.OperatorIndex.test.yaml—sample[int][int3]with different sample indices and array slices