wgpu/player
bors[bot] f963193be1
Merge #966
966: Immediate resource destruction and freeing r=cwfitzgerald a=kvark

**Connections**
Fixes #964

**Description**
We are making it so a buffer or a texture can have their native resources freed while they are still referenced, so without waiting for GC.

In addition, the PR adds a few missing cases where error IDs should have been handled, like at render pass encoding.

**Testing**
Tested on wgpu-rs examples, see https://github.com/gfx-rs/wgpu-rs/pull/591

Co-authored-by: Dzmitry Malyshau <kvarkus@gmail.com>
2020-10-11 17:10:42 +00:00
..
src Early texture destruction 2020-10-08 23:21:11 -04:00
tests CI playtests for Dx12, Vulkan 2020-10-08 17:17:16 -04:00
Cargo.toml Version bump to 0.6 and changelog update 2020-08-17 16:51:22 -04:00
README.md Player-based GPU test framework 2020-07-17 00:08:43 -04:00

wgpu player

This is application that allows replaying the wgpu workloads recorded elsewhere. You must use the player built from the same revision as an application was linking to, or otherwise the data may fail to load.

Launch as:

play <trace-dir>

When built with "winit" feature, it's able to replay the workloads that operate on a swapchain. It renders each frame sequentially, then waits for the user to close the window. When built without "winit", it launches in console mode and can replay any trace that doesn't use swapchains.

Note: replaying is currently restricted to the same backend, as one used for recording a trace. It is straightforward, however, to just replace the backend in RON, since it's serialized as plain text. Valid values are: Vulkan, Metal, Dx12, and Dx11.