From 159ebb4295f6f0eb9e5907ca3387f214a10156cc Mon Sep 17 00:00:00 2001 From: Ben Vanik Date: Sun, 22 Mar 2015 09:37:55 -0700 Subject: [PATCH] Removing unneeded stencil register logic. --- src/xenia/gpu/gl4/command_processor.cc | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/src/xenia/gpu/gl4/command_processor.cc b/src/xenia/gpu/gl4/command_processor.cc index 8d26f88e9..8e3a5eed1 100644 --- a/src/xenia/gpu/gl4/command_processor.cc +++ b/src/xenia/gpu/gl4/command_processor.cc @@ -474,17 +474,6 @@ void CommandProcessor::WriteRegister(uint32_t index, uint32_t value) { RegisterFile* regs = register_file_; assert_true(index < RegisterFile::kRegisterCount); - // The command buffers will have multiple scissor updates before each draw. - // Only the first one ever seems valid, and the following are 8192x8192. - // As we need the valid scissor to do the draw, ignore those weird ones here. - if (index == XE_GPU_REG_PA_SC_WINDOW_SCISSOR_TL || - index == XE_GPU_REG_PA_SC_WINDOW_SCISSOR_BR) { - if (value == 0x20002000) { - // Ignored? - return; - } - } - regs->values[index].u32 = value; // If this is a COHER register, set the dirty flag.