[D3D12] Enable bindless resources by default

This commit is contained in:
Triang3l 2020-06-20 01:27:31 +03:00 committed by GitHub
parent 40e335e2a9
commit dbc7794399
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -25,7 +25,7 @@
#include "xenia/gpu/xenos.h" #include "xenia/gpu/xenos.h"
#include "xenia/ui/d3d12/d3d12_util.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, " "Use bindless resources where available - may improve performance, "
"but may make debugging more complicated.", "but may make debugging more complicated.",
"D3D12"); "D3D12");
@ -866,7 +866,7 @@ bool D3D12CommandProcessor::SetupContext() {
deferred_command_list_ = std::make_unique<DeferredCommandList>(this); deferred_command_list_ = std::make_unique<DeferredCommandList>(this);
bindless_resources_used_ = bindless_resources_used_ =
cvars::d3d12_bindless_resources && cvars::d3d12_bindless &&
provider->GetResourceBindingTier() >= D3D12_RESOURCE_BINDING_TIER_2; provider->GetResourceBindingTier() >= D3D12_RESOURCE_BINDING_TIER_2;
edram_rov_used_ = edram_rov_used_ =
cvars::d3d12_edram_rov && provider->AreRasterizerOrderedViewsSupported(); cvars::d3d12_edram_rov && provider->AreRasterizerOrderedViewsSupported();