video_core: Use source3 when GPU_PREVIOUS is used in first stage (#7411)

This commit is contained in:
GPUCode
2024-02-05 19:53:54 +02:00
committed by GitHub
parent d5a1bd07f3
commit 106364e01e
7 changed files with 83 additions and 101 deletions

View File

@ -846,7 +846,7 @@ void RasterizerAccelerated::SyncTextureBorderColor(int tex_index) {
}
void RasterizerAccelerated::SyncClipPlane() {
const bool enable_clip1 = regs.rasterizer.clip_enable != 0;
const u32 enable_clip1 = regs.rasterizer.clip_enable != 0;
const auto raw_clip_coef = regs.rasterizer.GetClipCoef();
const Common::Vec4f new_clip_coef = {raw_clip_coef.x.ToFloat32(), raw_clip_coef.y.ToFloat32(),
raw_clip_coef.z.ToFloat32(), raw_clip_coef.w.ToFloat32()};