rsx: Remove shader address verification
this came from a misunderstanding of the register's use
This commit is contained in:
@@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user