DX12 requires the upload RowPitch to be 256 bytes aligned, which is equivalent to 64 pixels of RGBA8.
For more details, please refer to Uploading texture data through buffers.
To reproduce, use this small white image in hook.rs instead of thingken.webp and run dx12 test.
Thank you for the repro as well! Will add that to the test harness too, though I'll prob add also one with a size that's bigger than one row pitch just for the sake of completeness.
DX12 requires the upload RowPitch to be 256 bytes aligned, which is equivalent to 64 pixels of RGBA8. For more details, please refer to Uploading texture data through buffers.
To reproduce, use this small white image in hook.rs instead of thingken.webp and run dx12 test.
Only DX12 is affected.