[dx11] fix storage related features (#3497)

This commit is contained in:
Teodor Tanasoaia 2023-02-18 06:10:31 +01:00 committed by GitHub
parent 7819423c74
commit b534379acb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;
}
//