diff --git a/src/xenia/gpu/d3d12/d3d12_command_processor.cc b/src/xenia/gpu/d3d12/d3d12_command_processor.cc index 4569ad0bc..ce2981c42 100644 --- a/src/xenia/gpu/d3d12/d3d12_command_processor.cc +++ b/src/xenia/gpu/d3d12/d3d12_command_processor.cc @@ -24,18 +24,18 @@ #include "xenia/gpu/xenos.h" #include "xenia/ui/d3d12/d3d12_util.h" +DEFINE_bool(d3d12_edram_rov, true, + "Use rasterizer-ordered views for render target emulation where " + "available."); // Some games (such as Banjo-Kazooie) are not aware of the half-pixel offset and // may be blurry or have texture sampling artifacts, in this case the user may // disable half-pixel offset by setting this to false. DEFINE_bool(d3d12_half_pixel_offset, true, "Enable half-pixel vertex and VPOS offset."); -DEFINE_bool(d3d12_programmable_sample_positions, false, +DEFINE_bool(d3d12_ssaa_custom_sample_positions, false, "Enable custom SSAA sample positions for the RTV/DSV rendering " "path where available instead of centers (experimental, not very " "high-quality)."); -DEFINE_bool(d3d12_rov, true, - "Use rasterizer-ordered views for render target emulation where " - "available."); namespace xe { namespace gpu { @@ -85,7 +85,7 @@ ID3D12GraphicsCommandList1* D3D12CommandProcessor::GetCurrentCommandList1() } bool D3D12CommandProcessor::IsROVUsedForEDRAM() const { - if (!FLAGS_d3d12_rov) { + if (!FLAGS_d3d12_edram_rov) { return false; } auto provider = GetD3D12Context()->GetD3D12Provider(); @@ -544,7 +544,7 @@ void D3D12CommandProcessor::SetSamplePositions(MsaaSamples sample_positions) { // for ROV output. There's hardly any difference between 2,6 (of 0 and 3 with // 4x MSAA) and 4,4 anyway. // https://docs.microsoft.com/en-us/windows/desktop/api/d3d12/nf-d3d12-id3d12graphicscommandlist1-setsamplepositions - if (FLAGS_d3d12_programmable_sample_positions && !IsROVUsedForEDRAM()) { + if (FLAGS_d3d12_ssaa_custom_sample_positions && !IsROVUsedForEDRAM()) { auto provider = GetD3D12Context()->GetD3D12Provider(); auto tier = provider->GetProgrammableSamplePositionsTier(); auto command_list = GetCurrentCommandList1(); diff --git a/src/xenia/gpu/d3d12/shared_memory.cc b/src/xenia/gpu/d3d12/shared_memory.cc index ba3b2ba5a..6c5fe478b 100644 --- a/src/xenia/gpu/d3d12/shared_memory.cc +++ b/src/xenia/gpu/d3d12/shared_memory.cc @@ -22,7 +22,7 @@ #include "xenia/gpu/d3d12/d3d12_command_processor.h" #include "xenia/ui/d3d12/d3d12_util.h" -DEFINE_bool(d3d12_tiled_resources, true, +DEFINE_bool(d3d12_tiled_shared_memory, true, "Enable tiled resources for shared memory emulation. Disabling " "them greatly increases video memory usage - a 512 MB buffer is " "created - but allows graphics debuggers that don't support tiled " @@ -386,7 +386,7 @@ void SharedMemory::RangeWrittenByGPU(uint32_t start, uint32_t length) { } bool SharedMemory::AreTiledResourcesUsed() const { - if (!FLAGS_d3d12_tiled_resources) { + if (!FLAGS_d3d12_tiled_shared_memory) { return false; } auto provider = command_processor_->GetD3D12Context()->GetD3D12Provider();