mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-22 06:44:14 +00:00
Add Features::MULTI_DRAW_INDIRECT to Metal (#2737)
This commit is contained in:
parent
a3b241857d
commit
717bc40106
@ -760,7 +760,8 @@ impl super::PrivateCapabilities {
|
||||
| F::CLEAR_TEXTURE
|
||||
| F::TEXTURE_FORMAT_16BIT_NORM
|
||||
| F::SHADER_FLOAT16
|
||||
| F::DEPTH32FLOAT_STENCIL8;
|
||||
| F::DEPTH32FLOAT_STENCIL8
|
||||
| F::MULTI_DRAW_INDIRECT;
|
||||
|
||||
features.set(F::TEXTURE_COMPRESSION_ASTC_LDR, self.format_astc);
|
||||
features.set(F::TEXTURE_COMPRESSION_ASTC_HDR, self.format_astc_hdr);
|
||||
|
@ -422,6 +422,7 @@ bitflags::bitflags! {
|
||||
/// Supported platforms:
|
||||
/// - DX12
|
||||
/// - Vulkan
|
||||
/// - Metal (Emulated on top of `draw_indirect` and `draw_indexed_indirect`)
|
||||
///
|
||||
/// This is a native only feature.
|
||||
const MULTI_DRAW_INDIRECT = 1 << 23;
|
||||
|
Loading…
Reference in New Issue
Block a user