intel/compiler: use C++ template instead of preprocessor
Signed-off-by: Marcin Ślusarz <marcin.slusarz@intel.com> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Francisco Jerez <currojerez@riseup.net> Acked-by: Jason Ekstrand <jason@jlekstrand.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7382>
This commit is contained in:

committed by
Marge Bot

parent
788f6dc857
commit
06764e0e5d
@@ -343,12 +343,9 @@ public:
|
||||
|
||||
const struct brw_vue_map *input_vue_map;
|
||||
|
||||
BRW_ANALYSIS(live_analysis, brw::fs_live_variables,
|
||||
backend_shader *) live_analysis;
|
||||
BRW_ANALYSIS(regpressure_analysis, brw::register_pressure,
|
||||
fs_visitor *) regpressure_analysis;
|
||||
BRW_ANALYSIS(performance_analysis, brw::performance,
|
||||
fs_visitor *) performance_analysis;
|
||||
brw_analysis<brw::fs_live_variables, backend_shader> live_analysis;
|
||||
brw_analysis<brw::register_pressure, fs_visitor> regpressure_analysis;
|
||||
brw_analysis<brw::performance, fs_visitor> performance_analysis;
|
||||
|
||||
/** Number of uniform variable components visited. */
|
||||
unsigned uniforms;
|
||||
|
Reference in New Issue
Block a user