mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 02:10:11 +01:00
i965/fs_nir: Validate optimization passes
Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
This commit is contained in:
parent
10adf8fc85
commit
2bd5a24a5e
1 changed files with 14 additions and 7 deletions
|
|
@ -54,14 +54,21 @@ fs_visitor::emit_nir_code()
|
|||
if (1)
|
||||
nir_print_shader(nir, stderr);
|
||||
|
||||
nir_convert_to_ssa(nir);
|
||||
nir_copy_prop(nir);
|
||||
nir_opt_dce(nir);
|
||||
nir_print_shader(nir, stderr);
|
||||
if (1) {
|
||||
nir_convert_to_ssa(nir);
|
||||
nir_validate_shader(nir);
|
||||
nir_copy_prop(nir);
|
||||
nir_validate_shader(nir);
|
||||
nir_opt_dce(nir);
|
||||
nir_validate_shader(nir);
|
||||
nir_print_shader(nir, stderr);
|
||||
|
||||
nir_convert_from_ssa(nir);
|
||||
nir_lower_vec_to_movs(nir);
|
||||
nir_print_shader(nir, stderr);
|
||||
nir_convert_from_ssa(nir);
|
||||
nir_print_shader(nir, stderr);
|
||||
nir_validate_shader(nir);
|
||||
nir_lower_vec_to_movs(nir);
|
||||
nir_validate_shader(nir);
|
||||
}
|
||||
|
||||
/* emit the arrays used for inputs and outputs - load/store intrinsics will
|
||||
* be converted to reads/writes of these arrays
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue