mirror of
https://github.com/storytold/wgpu.git
synced 2026-12-01 10:34:57 +01: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
1 file changed
-6
@@ -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
|
||||
|
||||
Reference in new issue
Block a user