mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-23 01:50:24 +01:00
aco: always run RA validation during tests
Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Daniel Schürmann <daniel@schuermann.dev> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/38811>
This commit is contained in:
parent
bf30a57440
commit
d0801c9eb7
2 changed files with 1 additions and 4 deletions
|
|
@ -130,7 +130,7 @@ aco_postprocess_shader(const struct aco_compiler_options* options,
|
|||
/* Register Allocation */
|
||||
register_allocation(program.get());
|
||||
|
||||
if (validate_ra(program.get())) {
|
||||
if ((debug_flags & DEBUG_VALIDATE_RA) && validate_ra(program.get())) {
|
||||
aco_print_program(program.get(), stderr);
|
||||
abort();
|
||||
} else if (options->dump_ir) {
|
||||
|
|
|
|||
|
|
@ -1550,9 +1550,6 @@ validate_instr_defs(Program* program, std::array<unsigned, 2048>& regs,
|
|||
bool
|
||||
validate_ra(Program* program)
|
||||
{
|
||||
if (!(debug_flags & DEBUG_VALIDATE_RA))
|
||||
return false;
|
||||
|
||||
bool err = false;
|
||||
aco::live_var_analysis(program);
|
||||
std::vector<std::vector<Temp>> phi_sgpr_ops(program->blocks.size());
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue