Closed walbourn closed 4 years ago
The ResourceUploadBatch as originally implemented only worked on DIRECT command queues, which are the kind created by DeviceResources.
DIRECT
This PR adds supports for both COPY and COMPUTE command queues as an option.
COPY queues only support loading. They cannot support GenerateMips
COPY
COMPUTE queues can support the current features.
COMPUTE
The only other supported command queue types are VIDEO_* which are not relevant here.
VIDEO_*
For test coverage, see this PR
The ResourceUploadBatch as originally implemented only worked on
DIRECT
command queues, which are the kind created by DeviceResources.This PR adds supports for both COPY and COMPUTE command queues as an option.
COPY
queues only support loading. They cannot support GenerateMipsCOMPUTE
queues can support the current features.