mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-24 08:21:25 +01:00
...And add the feature flag to Vulkan, which previously worked by accident.
This commit is contained in:
1 parent
3d6cda100a
commit
b0ba01dba6
1 file changed
+1
@@ -203,6 +203,7 @@ impl PhysicalDeviceFeatures {
|
||||
fn to_wgpu(&self, caps: &PhysicalDeviceCapabilities) -> (wgt::Features, wgt::DownlevelFlags) {
|
||||
use wgt::{DownlevelFlags as Df, Features as F};
|
||||
let mut features = F::empty()
|
||||
| F::SPIR_V_SHADER_MODULES
|
||||
| F::MAPPABLE_PRIMARY_BUFFERS
|
||||
| F::PUSH_CONSTANTS
|
||||
| F::ADDRESS_MODE_CLAMP_TO_BORDER
|
||||
|
||||
Reference in new issue
Block a user