mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-09 16:31:28 +12:00
rsx: dont silently ignore null shader address
This commit is contained in:
parent
7c4693e271
commit
efbd77deb4
7 changed files with 19 additions and 40 deletions
|
@ -1946,11 +1946,6 @@ namespace rsx
|
|||
auto &result = current_fragment_program = {};
|
||||
|
||||
const u32 shader_program = rsx::method_registers.shader_program_address();
|
||||
if (shader_program == 0)
|
||||
{
|
||||
current_fp_metadata = {};
|
||||
return;
|
||||
}
|
||||
|
||||
const u32 program_location = (shader_program & 0x3) - 1;
|
||||
const u32 program_offset = (shader_program & ~0x3);
|
||||
|
@ -2083,9 +2078,6 @@ namespace rsx
|
|||
auto &result = current_fragment_program = {};
|
||||
|
||||
const u32 shader_program = rsx::method_registers.shader_program_address();
|
||||
if (shader_program == 0)
|
||||
return;
|
||||
|
||||
const u32 program_location = (shader_program & 0x3) - 1;
|
||||
const u32 program_offset = (shader_program & ~0x3);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue