Skip to content

Commit

Permalink
fix(dx12): query resource binding tier, not resource heap tier, for b…
Browse files Browse the repository at this point in the history
…indless feature check
  • Loading branch information
ErichDonGubler committed Feb 5, 2025
1 parent d9e9c3a commit 599b53f
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 @@ -154,7 +154,7 @@ impl super::Adapter {
}
.unwrap();

if options.ResourceHeapTier == Direct3D12::D3D12_RESOURCE_HEAP_TIER_1 {
if options.ResourceBindingTier < Direct3D12::D3D12_RESOURCE_BINDING_TIER_2 {
// We require Tier 2 for the ability to make samplers bindless in all cases.
return None;
}
Expand Down

0 comments on commit 599b53f

Please sign in to comment.