Jim Blandy
Jim Blandy
Many interfaces in the WebGPU spec include `GPUObjectBase`, which means they have a `[[device]]` internal slot, but the spec does not say how this is initialized. It's usually clear what's...
This class of error may go away entirely once we have implemented the abstract number types. But just in case: ``` fn f(u: u32) { switch (u) { case 1:...
Using `spirv-val` from khronosGroup/SPIRV-Tools@a98f05d0, Naga's `make validate-spv` target fails: ``` $ make validate-spv Validating spv/access.spvasm error: line 145: Structure id 12 decorated as Block for variable in Uniform storage class...
WGSL permits dynamically indexing matrices that are not stored in variables: - A function parameter may be a matrix. - A formal parameter expression does not evaluate to a pointer,...
Firefox would very much like to use `gpu-allocator` in its Direct3D12 backend for WebGPU on Windows, but we cannot: - Firefox has a policy of vendoring all our dependency crates...
`IndexMap::remove` was deprecated in `indexmap` 2.2.0, with `swap_remove` as the appropriate replacement for its use by Naga's `NamedExpressions` type. Unfortunately, Firefox [patches] `indexmap` to always use version 1, so Naga...
From time to time, wgpu merges PRs that make it impossible to generate C bindings for wgpu-core. #5268 is one such fix. #5108 is another PR that inadvertently broke cbindgen....
This test fails, complaining that it can't parse the SPIR-V: ``` --- TRY 1 STDERR: wgpu-test::wgpu-test [Executed] [Vulkan/llvmpipe (LLVM 17.0.6, 256 bits)/1] wgpu_test::scissor_tests::scissor_test_full_rect --- [2024-02-14T20:15:11Z ERROR wgpu_hal::vulkan::instance] GENERAL [../src/vulkan/runtime/vk_nir.c:60 (0x0)]...
Now that Firefox can use `windows-rs`, `wgpu-hal` can depend on `gpu-allocator` unconditionally. We still need the non-suballocation path in `wgpu_hal::dx12`, to work around driver bugs. So `Device::mem_allocator` still needs to...
It might be good to tighten down the size of our `Result` values. By default Clippy doesn't complain until the errors are larger than 128 bytes, but boxing the Err...