mirror of
https://github.com/storytold/wgpu.git
synced 2026-11-24 00:11:11 +01:00
fix(dx12): query resource binding tier, not resource heap tier, for bindless feature check (#7059)
This commit is contained in:
1 parent
d9e9c3aa19
commit
9b76bcf12e
1 file changed
+2
-2
@@ -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