A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/gfx-rs/gfx/issues/1379 below:

Allocating heap memory for low level DX12 backend fails · Issue #1379 · gfx-rs/gfx · GitHub

When attempting to compile and run the trianglell example on Windows 10 64 bit MSVC with the default DX12 backend, the program panics at runtime with the following message:

thread 'main' panicked at 'assertion failed: `(left == right)`
  left: `0`,
 right: `-2147024809`', src\backend\dx12ll\src\factory.rs:215:8

The create_heap function asserts that

assert_eq!(winapi::S_OK, unsafe {
            self.inner.CreateHeap(&desc, &dxguid::IID_ID3D12Heap, &mut heap)
        });

Commenting this out, the example simply fails to run without providing a backtrace.

error: process didn't exit successfully: `target\debug\examples\trianglell.exe` (exit code: 2173)

The example works fine compiled with with --features vulkan.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4