mirror of
https://github.com/gfx-rs/wgpu.git
synced 2025-12-08 21:26:17 +00:00
Merge #938
938: Remove erroneous extra feature check r=kvark a=cwfitzgerald **Connections** None, found during investigation of DI issue. **Description** This line of code just shows up twice in a row, checking the same feature and setting the same feature. **Testing** Untested, but shouldn't affect anything. Co-authored-by: Connor Fitzgerald <connorwadefitzgerald@gmail.com>
This commit is contained in:
commit
a56f9949ec
@ -676,12 +676,6 @@ impl<G: GlobalIdentityHandlerFactory> Global<G> {
|
||||
.features
|
||||
.contains(wgt::Features::SAMPLED_TEXTURE_ARRAY_DYNAMIC_INDEXING),
|
||||
);
|
||||
enabled_features.set(
|
||||
hal::Features::SHADER_SAMPLED_IMAGE_ARRAY_DYNAMIC_INDEXING,
|
||||
adapter
|
||||
.features
|
||||
.contains(wgt::Features::SAMPLED_TEXTURE_ARRAY_DYNAMIC_INDEXING),
|
||||
);
|
||||
enabled_features.set(
|
||||
hal::Features::SAMPLED_TEXTURE_DESCRIPTOR_INDEXING,
|
||||
adapter
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user