GPU/HW: Fix incorrect blend factor

Regression from 75e6c175de
This commit is contained in:
Connor McLaughlin 2021-06-17 20:03:18 +10:00
parent e4fb028c8c
commit 815146e7d8
2 changed files with 3 additions and 3 deletions

@ -1 +1 @@
Subproject commit 533999c3f034746098016f757c106b5376ff7510
Subproject commit 4d453164dfd7b0793653e59ba70ed64a2f5ca2a4

View File

@ -1285,8 +1285,8 @@ void GPU_HW::DispatchRenderCommand()
const float dst_alpha_factor = transparent_alpha[static_cast<u32>(transparency_mode)][1];
m_batch_ubo_dirty |= (m_batch_ubo_data.u_src_alpha_factor != src_alpha_factor ||
m_batch_ubo_data.u_dst_alpha_factor != dst_alpha_factor);
m_batch_ubo_data.u_dst_alpha_factor = src_alpha_factor;
m_batch_ubo_data.u_src_alpha_factor = dst_alpha_factor;
m_batch_ubo_data.u_src_alpha_factor = src_alpha_factor;
m_batch_ubo_data.u_dst_alpha_factor = dst_alpha_factor;
}
const bool check_mask_before_draw = m_GPUSTAT.check_mask_before_draw;