mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-22 14:55:05 +00:00
Add TEXTURE_ADAPTER_SPECIFIC_FORMAT_FEATURES to supported for Vulkan and Metal.
Adapter callbacks are already there, so this is likely an oversight.
This commit is contained in:
parent
1d2efb43bc
commit
1b96f1a27e
@ -843,7 +843,8 @@ impl super::PrivateCapabilities {
|
||||
| F::DEPTH_CLAMPING
|
||||
| F::TEXTURE_COMPRESSION_BC
|
||||
| F::MAPPABLE_PRIMARY_BUFFERS
|
||||
| F::VERTEX_WRITABLE_STORAGE;
|
||||
| F::VERTEX_WRITABLE_STORAGE
|
||||
| F::TEXTURE_ADAPTER_SPECIFIC_FORMAT_FEATURES;
|
||||
|
||||
features.set(
|
||||
F::SAMPLED_TEXTURE_BINDING_ARRAY
|
||||
|
@ -208,7 +208,8 @@ impl PhysicalDeviceFeatures {
|
||||
| F::ADDRESS_MODE_CLAMP_TO_BORDER
|
||||
| F::SAMPLED_TEXTURE_BINDING_ARRAY
|
||||
| F::STORAGE_TEXTURE_BINDING_ARRAY
|
||||
| F::BUFFER_BINDING_ARRAY;
|
||||
| F::BUFFER_BINDING_ARRAY
|
||||
| F::TEXTURE_ADAPTER_SPECIFIC_FORMAT_FEATURES;
|
||||
let mut dl_flags = Df::all();
|
||||
|
||||
dl_flags.set(Df::CUBE_ARRAY_TEXTURES, self.core.image_cube_array != 0);
|
||||
|
Loading…
Reference in New Issue
Block a user