mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
intel/brw: Remove two duplicated validate calls in optimizer
The OPT macro will call validate() after each pass, so both cases removed by this patch are just redundant calls. Will only affect Debug builds since in Release builds validation is a no-op. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28534>
This commit is contained in:
parent
8a6fe54409
commit
671d216f39
1 changed files with 0 additions and 4 deletions
|
|
@ -39,8 +39,6 @@ brw_fs_optimize(fs_visitor &s)
|
|||
s.assign_constant_locations();
|
||||
OPT(brw_fs_lower_constant_loads);
|
||||
|
||||
s.validate();
|
||||
|
||||
if (s.compiler->lower_dpas)
|
||||
OPT(brw_fs_lower_dpas);
|
||||
|
||||
|
|
@ -157,8 +155,6 @@ brw_fs_optimize(fs_visitor &s)
|
|||
OPT(brw_fs_lower_uniform_pull_constant_loads);
|
||||
|
||||
OPT(brw_fs_lower_find_live_channel);
|
||||
|
||||
s.validate();
|
||||
}
|
||||
|
||||
static unsigned
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue