mirror of
https://github.com/gfx-rs/wgpu.git
synced 2024-11-22 14:55:05 +00:00
[dx11] fix storage related features (#3497)
This commit is contained in:
parent
7819423c74
commit
b534379acb
@ -127,6 +127,7 @@ impl super::Adapter {
|
||||
downlevel |= wgt::DownlevelFlags::FRAGMENT_STORAGE;
|
||||
downlevel |= wgt::DownlevelFlags::FRAGMENT_WRITABLE_STORAGE;
|
||||
downlevel |= wgt::DownlevelFlags::DEPTH_BIAS_CLAMP;
|
||||
downlevel |= wgt::DownlevelFlags::VERTEX_STORAGE;
|
||||
features |= wgt::Features::DEPTH_CLIP_CONTROL;
|
||||
features |= wgt::Features::TIMESTAMP_QUERY;
|
||||
features |= wgt::Features::PIPELINE_STATISTICS_QUERY;
|
||||
@ -145,7 +146,7 @@ impl super::Adapter {
|
||||
}
|
||||
|
||||
if feature_level >= FL11_1 {
|
||||
downlevel |= wgt::DownlevelFlags::VERTEX_STORAGE;
|
||||
features |= wgt::Features::VERTEX_WRITABLE_STORAGE;
|
||||
}
|
||||
|
||||
//
|
||||
|
Loading…
Reference in New Issue
Block a user