-
I have a function that loads spv file:
```cpp
std::vector loadSpv(std::string path) {
std::ifstream file(path, std::ios::ate | std::ios::binary);
if (!file.is_open()) {
throw …
-
**Description**
More deadlocks between queue.submit and poll_all devices (both threads are running device.maintain).
queue.submit thread:
```
thread #107, name = 'WGPU'
frame #0: 0x00007f…
-
Input JS:
```js
var buffer = new ArrayBuffer(1024);
var HEAPU8 = new Uint8Array(buffer);
var UTF8Decoder = new TextDecoder();
var UTF8ToString = (ptr, maxBytesToRead) => {
if (!ptr) return '…
-
**Description**
The device capture API (`device.start_capture` or `device.stop_capture`) not working in the metal backend.
**Repro steps**
Place any pair of `device.start_capture` and `device…
-
Expected rendering (all-is-cubes-desktop):
![Screen Shot 2022-10-23 at 10 30 49](https://user-images.githubusercontent.com/779501/197423795-7d1b9a80-d53a-48f4-8684-a985efcf3061.png)
Actual rende…
-
These types should all be usable with vertex input structs for WGSL. The test cases in lib.rs for writing the vertex module should cover all of the supported types.
https://docs.rs/wgpu/latest/wgpu/e…
-
This is a conflicting proposal with #175
Pros:
- dog-fooding `wgpu`, while still relying on gfx-hal
- all the platforms for free
- run on the Web
Cons: NONE
kvark updated
4 years ago
-
I'm working on a PR for this.
Right now I'm caught up on set_sub_data issues
(they removed the method! how could they!)
-
Trying to run [wgpu](https://github.com/gfx-rs/wgpu) examples yields an error like:
```
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os(OsError { line: 81, file: "/home/…
-
### Describe the bug
I'm trying to render a transparent tauri webview on top of wgpu but I'm running into some inconsistencies between platforms. On macOS everything works correctly, but on iOS the w…