Merge pull request #10135 from TaquitoSuabe/perf/gl-occlusion-culling

gfx: enable early depth occlusion culling on OpenGL
This commit is contained in:
Kacper authored and GitHub committed 2026-11-06 09:14:09 +01:00
commit c939630a79
1 file changed
+1 -1
+1 -1
View File
@@ -220,7 +220,7 @@ impl Cull {
/// write storage.
pub fn supported(adapter: &wgpu::Adapter, device: &wgpu::Device) -> Option<DepthTest> {
let depth_test = match adapter.get_info().backend {
wgpu::Backend::Vulkan
wgpu::Backend::Vulkan | wgpu::Backend::Gl
if device
.features()
.contains(wgpu::Features::SHADER_EARLY_DEPTH_TEST) =>