The wiki page for SDL_CopyGPUTextureToTexture has this remark:
This function does not support copying between depth and color textures. For those, copy the texture to a buffer and then to the destination texture.
But these copies don't seem to exist in the API? There are CPU <-> GPU copies via GPUTransferBuffers, but no GPU <-> GPU equivalents for GPUBuffers.
The wiki page for SDL_CopyGPUTextureToTexture has this remark:
But these copies don't seem to exist in the API? There are CPU <-> GPU copies via GPUTransferBuffers, but no GPU <-> GPU equivalents for GPUBuffers.