Skip to content

Commit

Permalink
cast to u32
Browse files Browse the repository at this point in the history
  • Loading branch information
teoxoy committed Aug 17, 2023
1 parent 9edd982 commit 84b8e1c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion wgpu-hal/src/dx12/adapter.rs
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ impl super::Adapter {
// write the results there, and issue a bunch of copy commands.
//| wgt::Features::PIPELINE_STATISTICS_QUERY

if max_feature_level >= d3d12::FeatureLevel::L11_1 {
if max_feature_level as u32 >= d3d12::FeatureLevel::L11_1 as u32 {
features |= wgt::Features::VERTEX_WRITABLE_STORAGE;
}

Expand Down

0 comments on commit 84b8e1c

Please sign in to comment.