Imbris
Imbris
By removing them from vertex outputs when generating HLSL. * Add `naga::back::hlsl::FragmentEntryPoint` for providing information about the fragment entry point when generating vertex entry points via `naga::back::hlsl::Writer::write`. Vertex outputs not...
https://github.com/gfx-rs/wgpu/blob/f735f57f89bef92896a5421a750f8bff7531fd81/naga/tests/example_wgsl.rs#L8-L18 This looks for `CARGO_MANIFEST_DIR/examples` but `CARGO_MANIFEST_DIR` is the package folder not the workspace folder. I put a panic in the `Err` arm and it causes the test to fail....
IIUC in tree borrows protectors generate implicit reads when they are released. However, the data race detector doesn't seem to be aware of them. Does it make sense for these...
Dropping `Context` will attempt to clear the debug callback via `gl.DebugMessageCallback(None, std::ptr::null());` since it drops the state that the callback refers to. But I was getting segfaults, so I added...
Right now it creates a mutable reference to the user data which requires exclusivity. But https://www.khronos.org/opengl/wiki/Debug_Output#Getting_messages notes: >The callback can be called synchronously or asynchronously. This is controlled by the...
### Problem The `panic` setting is ignored for benchmarks since (by default) they link `libtest` which is compiled with `panic = "unwind"`. This would otherwise lead to confusing errors at...
**Connections** Fixes https://github.com/gfx-rs/wgpu/issues/4514 Fixes https://github.com/gfx-rs/wgpu/issues/4485 **Description** As discussed in https://github.com/gfx-rs/wgpu/issues/4485, FXC has a bug when handling switches with all cases leading to one body (it deletes the switch). It was...
I ran into a SPIRV validation issue in a test case I added in my PR https://github.com/gfx-rs/wgpu/pull/5654#issuecomment-2092368818. I've been able to reduce it down to: This input wgsl ```wgsl @compute...
FXC has a bug when compiling the shader shown in https://github.com/gpuweb/gpuweb/issues/4430 See https://issues.chromium.org/issues/42251176#comment5 which discusses the bug in 4430 and the likelihood of other switch/loop related bugs. I'm not sure...
e.g. see https://github.com/ralith/hecs?tab=readme-ov-file#other-libraries IMO these entries can be really useful for discovering other parts of the ecosystem.