Jim Blandy

Results 85 issues of Jim Blandy

`RenderBundleEncoder::finish` propagates `SetPushConstant` commands from the encoder to the final `RenderBundle`, but the bundle's `BasePass`'s `push_constant_data` vector is always empty.

area: correctness

- Use a `for` loop in `LifetimeTracker` triage code. A `for` loop is less noisy here than a `drain`, which requires: - a `mut` qualifier for a variable whose modified...

This test fails on Fedora 39 because the expected error message is not generated: ``` [2024-05-05T10:00:11Z ERROR wgpu_test::expectations] Expected to fail due to [FailureReason { kind: Some(ValidationError), message: Some("a matrix...

Running `cargo doc` on the following complains about the broken link in the docs for `Legit`, but not the one in the docs fo `Flags`: ```rust bitflags::bitflags! { /// This...

In `wgpu_hal`, `dx12::Device` should not spend 256KiB of GPU memory on `Device::zero_buffer`, whose only reason for existence is to serve as the source of `CopyBufferRegion` calls in `::clear_buffer`. It seems...

When generating code for a `naga::Module`, Naga currently evaluates every override-expression it can, regardless of whether that expression is statically used by the entry point(s) for which we are generating...

type: bug
area: naga back-end
naga

I think it is the case that Naga generates bounds checks on storage texture writes, but this is unnecessary: https://github.com/gpuweb/gpuweb/pull/4194

area: naga back-end
naga

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,...

area: validation
kind: feature
naga

Running the `wgpu_test::compute_pass_resource_ownership` test on Linux using the GL backend causes a GPU reset and eventual kernel instability. The same test passes when run using the AMD or llvmpipe Vulkan...

I missed this reviewing #5383, but in `PhysicalDeviceFeatures::from_extensions_and_requested_features` in `wgpu-hal/src/vulkan/adapter.rs`, when we populate `shader_atomic_int64`, we should set both `shader_buffer_int64_atomics` *and* `shader_shared_int64_atomics`, since we require both in `PhysicalDeviceFeatures::to_wgpu`. cc @atlv24 @teoxoy