mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
Pass DEPTH_CLAMPING feature request to gfx-hal
This commit is contained in:
@@ -275,6 +275,10 @@ impl<B: GfxBackend> Adapter<B> {
|
||||
}
|
||||
|
||||
// Features
|
||||
enabled_features.set(
|
||||
hal::Features::DEPTH_CLAMP,
|
||||
desc.features.contains(wgt::Features::DEPTH_CLAMPING),
|
||||
);
|
||||
enabled_features.set(
|
||||
hal::Features::FORMAT_BC,
|
||||
desc.features
|
||||
|
||||
Reference in New Issue
Block a user