Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Game don't work on DX12 #183

Closed
DileSoft opened this issue Jan 19, 2022 · 0 comments · Fixed by gfx-rs/wgpu#2409
Closed

Game don't work on DX12 #183

DileSoft opened this issue Jan 19, 2022 · 0 comments · Fixed by gfx-rs/wgpu#2409

Comments

@DileSoft
Copy link
Contributor

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)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants