The public texture Decode/DecodeMip overloads accept a zLayer, but the value is not forwarded to DecodeTexture.
As a result, requesting a non-zero layer from array or cube-array textures does not decode the requested slice.
Expected: forward the selected layer through the decode path and return that layer's pixels.
The public texture
Decode/DecodeMipoverloads accept azLayer, but the value is not forwarded toDecodeTexture.As a result, requesting a non-zero layer from array or cube-array textures does not decode the requested slice.
Expected: forward the selected layer through the decode path and return that layer's pixels.