rsx: Remove shader address verification

this came from a misunderstanding of the register's use
This commit is contained in:
eladash 2018-09-24 10:07:46 +03:00 committed by kd-11
parent b7e010bbd0
commit e8474145a5
2 changed files with 0 additions and 3 deletions

View File

@ -81,7 +81,6 @@ namespace rsx
// capture fragment shader mem
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_offset = (shader_program & ~0x3);

View File

@ -461,8 +461,6 @@ namespace rsx
if (!(rsx::method_registers.current_draw_clause.first_count_commands.empty() &&
rsx::method_registers.current_draw_clause.inline_vertex_array.empty()))
{
verify("Null shader address!" HERE), (method_registers.shader_program_address());
rsxthr->end();
}
}