From 7a89ad16a67dbabd87db3c89f70d7b55aaffa0da Mon Sep 17 00:00:00 2001 From: Triang3l Date: Mon, 2 May 2022 23:16:18 +0300 Subject: [PATCH] [D3D12] Update D3D12RenderTargetCache::Update write mask argument name --- src/xenia/gpu/d3d12/d3d12_render_target_cache.cc | 4 ++-- src/xenia/gpu/d3d12/d3d12_render_target_cache.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/xenia/gpu/d3d12/d3d12_render_target_cache.cc b/src/xenia/gpu/d3d12/d3d12_render_target_cache.cc index 6ccdf76e2..45454f4fb 100644 --- a/src/xenia/gpu/d3d12/d3d12_render_target_cache.cc +++ b/src/xenia/gpu/d3d12/d3d12_render_target_cache.cc @@ -1251,10 +1251,10 @@ void D3D12RenderTargetCache::BeginSubmission() { bool D3D12RenderTargetCache::Update( bool is_rasterization_done, reg::RB_DEPTHCONTROL normalized_depth_control, - uint32_t shader_writes_color_targets, const Shader& vertex_shader) { + uint32_t normalized_color_mask, const Shader& vertex_shader) { if (!RenderTargetCache::Update(is_rasterization_done, normalized_depth_control, - shader_writes_color_targets, vertex_shader)) { + normalized_color_mask, vertex_shader)) { return false; } switch (GetPath()) { diff --git a/src/xenia/gpu/d3d12/d3d12_render_target_cache.h b/src/xenia/gpu/d3d12/d3d12_render_target_cache.h index 8eecb450f..817275843 100644 --- a/src/xenia/gpu/d3d12/d3d12_render_target_cache.h +++ b/src/xenia/gpu/d3d12/d3d12_render_target_cache.h @@ -65,7 +65,7 @@ class D3D12RenderTargetCache final : public RenderTargetCache { bool Update(bool is_rasterization_done, reg::RB_DEPTHCONTROL normalized_depth_control, - uint32_t shader_writes_color_targets, + uint32_t normalized_color_mask, const Shader& vertex_shader) override; void InvalidateCommandListRenderTargets() {