Skip to content

d3d12memory: Fix staging buffer alignment

Seungha Yang requested to merge seungha.yang/gstreamer:d3d12mem-align into main

Not all GPUs can support arbitrary offset of D3D12_PLACED_SUBRESOURCE_FOOTPRINT when copying GPU memory between texture and buffer. Instead of calculating size/offset per plane, calculate the entire size and offsets at once.

Merge request reports