References
Description
Add runtime GPU offload tests for TextureCube. TextureCube uses float3 direction vectors for sampling. It does not support Load, operator[], mips, or offset parameters. It does support Gather/GatherCmp (unlike Texture1D/Texture3D).
Tasks
References
offload-test-suite/test/Feature/Textures/Texture2D.*.test.yamlDescription
Add runtime GPU offload tests for
TextureCube. TextureCube usesfloat3direction vectors for sampling. It does not support Load, operator[], mips, or offset parameters. It does support Gather/GatherCmp (unlike Texture1D/Texture3D).Tasks
Add
TextureCubeto offload-test-suiteResourceKindoffload-test-suite/include/Support/Pipeline.h— addTextureCubetoResourceKindenum, updateisRaw(),isSampler(),isTexture(),isReadWrite(),isSampledTexture(), andScalarEnumerationTraitsoffload-test-suite/lib/API/VK/Device.cpp— addTextureCubecases:VkDescriptorType,VkImageViewType(VK_IMAGE_VIEW_TYPE_CUBE), image creation with 6 layersoffload-test-suite/lib/API/DX/Device.cpp— addTextureCubecases:D3D12_SRV_DIMENSION_TEXTURECUBE, SRV descriptor setupoffload-test-suite/lib/API/MTL/MTLDevice.cpp— addTextureCubecase for Metal texture type mappingWrite tests (
offload-test-suite/test/Feature/Textures/)Sample.test—Sample(SamplerState, float3)(no offset overloads)SampleBias.test—SampleBias(SamplerState, float3, float)SampleGrad.test—SampleGrad(SamplerState, float3, float3, float3)SampleCmp.test—SampleCmp(SamplerComparisonState, float3, float)Gather.test—Gather(SamplerState, float3)(no offset overload)GatherCmp.test—GatherCmp(SamplerComparisonState, float3, float)(no offset overload)CalculateLevelOfDetail.test—CalculateLevelOfDetail(SamplerState, float3)Sampler.filter.test— sampler min/mag filter behaviourSampler.address.test— sampler address modesSampler.mips.test— sampler mip selection