From dbc77943990c2e00c361934eb5aff656b22371bf Mon Sep 17 00:00:00 2001 From: Triang3l Date: Sat, 20 Jun 2020 01:27:31 +0300 Subject: [PATCH] [D3D12] Enable bindless resources by default --- src/xenia/gpu/d3d12/d3d12_command_processor.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/xenia/gpu/d3d12/d3d12_command_processor.cc b/src/xenia/gpu/d3d12/d3d12_command_processor.cc index edf94cba1..5b008d484 100644 --- a/src/xenia/gpu/d3d12/d3d12_command_processor.cc +++ b/src/xenia/gpu/d3d12/d3d12_command_processor.cc @@ -25,7 +25,7 @@ #include "xenia/gpu/xenos.h" #include "xenia/ui/d3d12/d3d12_util.h" -DEFINE_bool(d3d12_bindless_resources, false, +DEFINE_bool(d3d12_bindless, true, "Use bindless resources where available - may improve performance, " "but may make debugging more complicated.", "D3D12"); @@ -866,7 +866,7 @@ bool D3D12CommandProcessor::SetupContext() { deferred_command_list_ = std::make_unique(this); bindless_resources_used_ = - cvars::d3d12_bindless_resources && + cvars::d3d12_bindless && provider->GetResourceBindingTier() >= D3D12_RESOURCE_BINDING_TIER_2; edram_rov_used_ = cvars::d3d12_edram_rov && provider->AreRasterizerOrderedViewsSupported();