mirror of
https://github.com/RPCS3/rpcs3.git
synced 2025-07-06 23:11:25 +12:00
rsx: Remove shader address verification
this came from a misunderstanding of the register's use
This commit is contained in:
parent
b7e010bbd0
commit
e8474145a5
2 changed files with 0 additions and 3 deletions
|
@ -81,7 +81,6 @@ namespace rsx
|
||||||
|
|
||||||
// capture fragment shader mem
|
// capture fragment shader mem
|
||||||
const u32 shader_program = method_registers.shader_program_address();
|
const u32 shader_program = method_registers.shader_program_address();
|
||||||
verify("Null shader address!" HERE), shader_program != 0;
|
|
||||||
|
|
||||||
const u32 program_location = (shader_program & 0x3) - 1;
|
const u32 program_location = (shader_program & 0x3) - 1;
|
||||||
const u32 program_offset = (shader_program & ~0x3);
|
const u32 program_offset = (shader_program & ~0x3);
|
||||||
|
|
|
@ -461,8 +461,6 @@ namespace rsx
|
||||||
if (!(rsx::method_registers.current_draw_clause.first_count_commands.empty() &&
|
if (!(rsx::method_registers.current_draw_clause.first_count_commands.empty() &&
|
||||||
rsx::method_registers.current_draw_clause.inline_vertex_array.empty()))
|
rsx::method_registers.current_draw_clause.inline_vertex_array.empty()))
|
||||||
{
|
{
|
||||||
verify("Null shader address!" HERE), (method_registers.shader_program_address());
|
|
||||||
|
|
||||||
rsxthr->end();
|
rsxthr->end();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue