'nir_lower_fragcolor.c',
'nir_lower_frexp.c',
'nir_lower_global_vars_to_local.c',
+ 'nir_lower_goto_ifs.c',
'nir_lower_gs_intrinsics.c',
'nir_lower_load_const_to_scalar.c',
'nir_lower_locals_to_regs.c',
'nir_lower_io_to_scalar.c',
'nir_lower_io_to_vector.c',
'nir_lower_mediump_outputs.c',
+ 'nir_lower_memory_model.c',
'nir_lower_non_uniform_access.c',
'nir_lower_packing.c',
'nir_lower_passthrough_edgeflags.c',
'nir_lower_wpos_ytransform.c',
'nir_lower_wrmasks.c',
'nir_lower_bit_size.c',
+ 'nir_lower_ubo_vec4.c',
'nir_lower_uniforms_to_ubo.c',
'nir_metadata.c',
'nir_move_vec_src_uses_to_dest.c',
'nir_opt_peephole_select.c',
'nir_opt_rematerialize_compares.c',
'nir_opt_remove_phis.c',
- 'nir_opt_shrink_load.c',
+ 'nir_opt_shrink_vectors.c',
'nir_opt_sink.c',
'nir_opt_trivial_continues.c',
'nir_opt_undef.c',
'nir_remove_dead_variables.c',
'nir_repair_ssa.c',
'nir_schedule.c',
+ 'nir_schedule.h',
'nir_search.c',
'nir_search.h',
'nir_search_helpers.h',
),
suite : ['compiler', 'nir'],
)
+
+ test(
+ 'nir_opt_if',
+ executable(
+ 'nir_opt_if_tests',
+ files('tests/opt_if_tests.cpp'),
+ cpp_args : [cpp_msvc_compat_args],
+ gnu_symbol_visibility : 'hidden',
+ include_directories : [inc_include, inc_src, inc_mapi, inc_mesa, inc_gallium, inc_gallium_aux],
+ dependencies : [dep_thread, idep_gtest, idep_nir, idep_mesautil],
+ ),
+ suite : ['compiler', 'nir'],
+ )
endif