mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 09:10:12 +01:00
aco: validate ir for prologs and after lower_to_hw_instr
Reviewed-by: Daniel Schürmann <daniel@schuermann.dev> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/23507>
This commit is contained in:
parent
2028df8757
commit
bbda9f7390
1 changed files with 3 additions and 0 deletions
|
|
@ -195,6 +195,7 @@ aco_postprocess_shader(const struct aco_compiler_options* options,
|
|||
|
||||
/* Lower to HW Instructions */
|
||||
aco::lower_to_hw_instr(program.get());
|
||||
validate(program.get());
|
||||
|
||||
/* Insert Waitcnt */
|
||||
aco::insert_wait_states(program.get());
|
||||
|
|
@ -276,6 +277,7 @@ aco_compile_rt_prolog(const struct aco_compiler_options* options,
|
|||
program->debug.private_data = NULL;
|
||||
|
||||
aco::select_rt_prolog(program.get(), &config, options, info, in_args, out_args);
|
||||
validate(program.get());
|
||||
aco::insert_wait_states(program.get());
|
||||
aco::insert_NOPs(program.get());
|
||||
if (program->gfx_level >= GFX10)
|
||||
|
|
@ -316,6 +318,7 @@ aco_compile_vs_prolog(const struct aco_compiler_options* options,
|
|||
|
||||
/* create IR */
|
||||
aco::select_vs_prolog(program.get(), pinfo, &config, options, info, args);
|
||||
validate(program.get());
|
||||
aco::insert_NOPs(program.get());
|
||||
|
||||
if (options->dump_shader)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue