kvark / vange-rs

Rusty Vangers clone
https://vange.rs
Apache License 2.0
427 stars 21 forks source link

Game don't work on DX12 #183

Closed DileSoft closed 2 years ago

DileSoft commented 2 years ago
C:\Windows.old-Windows-7\Users\DileSoft\Documents\git\vange-rs2>cargo run --bin road
    Finished dev [unoptimized + debuginfo] target(s) in 0.27s
     Running `target\debug\road.exe`
[2022-01-19T14:34:40Z ERROR wgpu_hal::dx12::instance] ID3D12CommandList::CopyTextureRegion: D3D12_SUBRESOURCE_FOOTPRINT::RowPitch must be a multiple of 256 (aka. D3D12_TEXTURE_DATA_PITCH_ALIGNMENT) and greater or equal to the pitch implied by the width. RowPitch is 0, and must be greater or equal to 1024 when D3D12_SUBRESOURCE_FOOTPRINT::Width is 256 and D3D12_SUBRESOURCE_FOOTPRINT::Format is R8G8B8A8_UNORM. [ RESOURCE_MANIPULATION ERROR #868: COPYTEXTUREREGION_INVALIDSRCROWPITCH]
error: process didn't exit successfully: `target\debug\road.exe` (exit code: 1)