[D3D12] Fix a typo in a blending register name

This commit is contained in:
Triang3l 2018-08-16 14:02:53 +03:00
parent d94ebaf580
commit 7ced7c932c
1 changed files with 1 additions and 1 deletions

View File

@ -353,7 +353,7 @@ PipelineCache::UpdateStatus PipelineCache::UpdateBlendStateAndRenderTargets(
regs.color_mask = color_mask; regs.color_mask = color_mask;
bool blend_enable = bool blend_enable =
color_mask != 0 && color_mask != 0 &&
!(register_file_->values[XE_GPU_REG_RB_COLOR_MASK].u32 & 0x20); !(register_file_->values[XE_GPU_REG_RB_COLORCONTROL].u32 & 0x20);
dirty |= regs.colorcontrol_blend_enable != blend_enable; dirty |= regs.colorcontrol_blend_enable != blend_enable;
regs.colorcontrol_blend_enable = blend_enable; regs.colorcontrol_blend_enable = blend_enable;
static const Register kBlendControlRegs[] = { static const Register kBlendControlRegs[] = {