[D3D12] Update D3D12RenderTargetCache::Update write mask argument name

This commit is contained in:
Triang3l 2022-05-02 23:16:18 +03:00
parent 0fd578cafd
commit 7a89ad16a6
2 changed files with 3 additions and 3 deletions

View File

@ -1251,10 +1251,10 @@ void D3D12RenderTargetCache::BeginSubmission() {
bool D3D12RenderTargetCache::Update( bool D3D12RenderTargetCache::Update(
bool is_rasterization_done, reg::RB_DEPTHCONTROL normalized_depth_control, 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, if (!RenderTargetCache::Update(is_rasterization_done,
normalized_depth_control, normalized_depth_control,
shader_writes_color_targets, vertex_shader)) { normalized_color_mask, vertex_shader)) {
return false; return false;
} }
switch (GetPath()) { switch (GetPath()) {

View File

@ -65,7 +65,7 @@ class D3D12RenderTargetCache final : public RenderTargetCache {
bool Update(bool is_rasterization_done, bool Update(bool is_rasterization_done,
reg::RB_DEPTHCONTROL normalized_depth_control, reg::RB_DEPTHCONTROL normalized_depth_control,
uint32_t shader_writes_color_targets, uint32_t normalized_color_mask,
const Shader& vertex_shader) override; const Shader& vertex_shader) override;
void InvalidateCommandListRenderTargets() { void InvalidateCommandListRenderTargets() {