mirror of
https://github.com/gfx-rs/wgpu.git
synced 2026-04-22 03:02:01 -04:00
fix(dx12): query resource binding tier, not resource heap tier, for bindless feature check (#7059)
This commit is contained in:
@@ -154,8 +154,8 @@ impl super::Adapter {
|
||||
}
|
||||
.unwrap();
|
||||
|
||||
if options.ResourceHeapTier == Direct3D12::D3D12_RESOURCE_HEAP_TIER_1 {
|
||||
// We require Tier 2 for the ability to make samplers bindless in all cases.
|
||||
if options.ResourceBindingTier.0 < Direct3D12::D3D12_RESOURCE_BINDING_TIER_2.0 {
|
||||
// We require Tier 2 or higher for the ability to make samplers bindless in all cases.
|
||||
return None;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user