From 4c5fef4a2809202503626b0e03e41d661a399bbd Mon Sep 17 00:00:00 2001 From: Connor Fitzgerald Date: Tue, 20 Dec 2022 16:06:12 -0500 Subject: [PATCH] Re-add indirect execution to vulkan downlevel flags (#3319) Closes https://github.com/gfx-rs/wgpu/issues/3318 --- wgpu-hal/src/vulkan/adapter.rs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/wgpu-hal/src/vulkan/adapter.rs b/wgpu-hal/src/vulkan/adapter.rs index e0c84ed43f..cf5c8eeae7 100644 --- a/wgpu-hal/src/vulkan/adapter.rs +++ b/wgpu-hal/src/vulkan/adapter.rs @@ -327,7 +327,8 @@ impl PhysicalDeviceFeatures { | Df::DEPTH_TEXTURE_AND_BUFFER_COPIES | Df::WEBGPU_TEXTURE_FORMAT_SUPPORT | Df::BUFFER_BINDINGS_NOT_16_BYTE_ALIGNED - | Df::UNRESTRICTED_INDEX_BUFFER; + | Df::UNRESTRICTED_INDEX_BUFFER + | Df::INDIRECT_EXECUTION; dl_flags.set(Df::CUBE_ARRAY_TEXTURES, self.core.image_cube_array != 0); dl_flags.set(Df::ANISOTROPIC_FILTERING, self.core.sampler_anisotropy != 0);