mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
intel/brw: Rename brw_fs_validate to brw_validate
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/32843>
This commit is contained in:
parent
d37cbfad66
commit
634daf2827
6 changed files with 8 additions and 8 deletions
|
|
@ -1588,7 +1588,7 @@ brw_shader_phase_update(fs_visitor &s, enum brw_shader_phase phase)
|
|||
{
|
||||
assert(phase == s.phase + 1);
|
||||
s.phase = phase;
|
||||
brw_fs_validate(s);
|
||||
brw_validate(s);
|
||||
}
|
||||
|
||||
bool brw_should_print_shader(const nir_shader *shader, uint64_t debug_flag)
|
||||
|
|
|
|||
|
|
@ -600,9 +600,9 @@ void nir_to_brw(fs_visitor *s);
|
|||
void brw_shader_phase_update(fs_visitor &s, enum brw_shader_phase phase);
|
||||
|
||||
#ifndef NDEBUG
|
||||
void brw_fs_validate(const fs_visitor &s);
|
||||
void brw_validate(const fs_visitor &s);
|
||||
#else
|
||||
static inline void brw_fs_validate(const fs_visitor &s) {}
|
||||
static inline void brw_validate(const fs_visitor &s) {}
|
||||
#endif
|
||||
|
||||
void brw_calculate_cfg(fs_visitor &s);
|
||||
|
|
|
|||
|
|
@ -17,7 +17,7 @@ brw_optimize(fs_visitor &s)
|
|||
s.debug_optimizer(nir, "start", 0, 0);
|
||||
|
||||
/* Start by validating the shader we currently have. */
|
||||
brw_fs_validate(s);
|
||||
brw_validate(s);
|
||||
|
||||
/* Track how much non-SSA at this point. */
|
||||
{
|
||||
|
|
@ -37,7 +37,7 @@ brw_optimize(fs_visitor &s)
|
|||
if (this_progress) \
|
||||
s.debug_optimizer(nir, #pass, iteration, pass_num); \
|
||||
\
|
||||
brw_fs_validate(s); \
|
||||
brw_validate(s); \
|
||||
\
|
||||
progress = progress || this_progress; \
|
||||
this_progress; \
|
||||
|
|
|
|||
|
|
@ -271,7 +271,7 @@ brw_validate_instruction_phase(const fs_visitor &s, fs_inst *inst)
|
|||
}
|
||||
|
||||
void
|
||||
brw_fs_validate(const fs_visitor &s)
|
||||
brw_validate(const fs_visitor &s)
|
||||
{
|
||||
const intel_device_info *devinfo = s.devinfo;
|
||||
|
||||
|
|
@ -54,7 +54,6 @@ libintel_compiler_brw_files = files(
|
|||
'brw_fs_nir.cpp',
|
||||
'brw_fs_reg_allocate.cpp',
|
||||
'brw_fs_thread_payload.cpp',
|
||||
'brw_fs_validate.cpp',
|
||||
'brw_fs_visitor.cpp',
|
||||
'brw_ir.h',
|
||||
'brw_ir_allocator.h',
|
||||
|
|
@ -112,6 +111,7 @@ libintel_compiler_brw_files = files(
|
|||
'brw_schedule_instructions.cpp',
|
||||
'brw_shader.cpp',
|
||||
'brw_simd_selection.cpp',
|
||||
'brw_validate.cpp',
|
||||
'brw_vue_map.c',
|
||||
'brw_workaround.cpp',
|
||||
)
|
||||
|
|
|
|||
|
|
@ -125,6 +125,6 @@ TEST_F(FSCombineConstantsTest, DoContainingDo)
|
|||
* test is that the shader would be empty.
|
||||
*/
|
||||
ASSERT_GE(shader->cfg->num_blocks, original_num_blocks);
|
||||
brw_fs_validate(*shader);
|
||||
brw_validate(*shader);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue