mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-12-08 21:26:17 +00:00
fix deduplication not taking into account render bundles (#2867)
This commit is contained in:
parent
324de1bef6
commit
2ce1318c8c
@ -48,6 +48,7 @@ Bottom level categories:
|
|||||||
- Allow multi-sampled textures that are supported by the device but not WebGPU if `TEXTURE_ADAPTER_SPECIFIC_FORMAT_FEATURES` is enabled by @cwfitzgerald in [#2856](https://github.com/gfx-rs/wgpu/pull/2856)
|
- Allow multi-sampled textures that are supported by the device but not WebGPU if `TEXTURE_ADAPTER_SPECIFIC_FORMAT_FEATURES` is enabled by @cwfitzgerald in [#2856](https://github.com/gfx-rs/wgpu/pull/2856)
|
||||||
- `get_texture_format_features` only lists the COPY_* usages if the adapter actually supports that usage by @cwfitzgerald in [#2856](https://github.com/gfx-rs/wgpu/pull/2856)
|
- `get_texture_format_features` only lists the COPY_* usages if the adapter actually supports that usage by @cwfitzgerald in [#2856](https://github.com/gfx-rs/wgpu/pull/2856)
|
||||||
- Improve the validation and error reporting of buffer mappings by @nical in [#2848](https://github.com/gfx-rs/wgpu/pull/2848)
|
- Improve the validation and error reporting of buffer mappings by @nical in [#2848](https://github.com/gfx-rs/wgpu/pull/2848)
|
||||||
|
- Fix bind group / pipeline deduplication not taking into account RenderBundle execution resetting these values by @shoebe [#2867](https://github.com/gfx-rs/wgpu/pull/2867)
|
||||||
|
|
||||||
#### DX12
|
#### DX12
|
||||||
- `DownlevelCapabilities::default()` now returns the `ANISOTROPIC_FILTERING` flag set to true so DX12 lists `ANISOTROPIC_FILTERING` as true again by @cwfitzgerald in [#2851](https://github.com/gfx-rs/wgpu/pull/2851)
|
- `DownlevelCapabilities::default()` now returns the `ANISOTROPIC_FILTERING` flag set to true so DX12 lists `ANISOTROPIC_FILTERING` as true again by @cwfitzgerald in [#2851](https://github.com/gfx-rs/wgpu/pull/2851)
|
||||||
|
|||||||
@ -529,6 +529,9 @@ impl BindGroupStateChange {
|
|||||||
}
|
}
|
||||||
false
|
false
|
||||||
}
|
}
|
||||||
|
fn reset(&mut self) {
|
||||||
|
self.last_states = [StateChange::new(); hal::MAX_BIND_GROUPS];
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
impl Default for BindGroupStateChange {
|
impl Default for BindGroupStateChange {
|
||||||
|
|||||||
@ -2454,5 +2454,7 @@ pub mod render_ffi {
|
|||||||
.commands
|
.commands
|
||||||
.push(RenderCommand::ExecuteBundle(bundle_id));
|
.push(RenderCommand::ExecuteBundle(bundle_id));
|
||||||
}
|
}
|
||||||
|
pass.current_pipeline.reset();
|
||||||
|
pass.current_bind_groups.reset();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user