aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/compiler/brw_shader.h
diff options
context:
space:
mode:
authorMarcin Ślusarz <marcin.slusarz@intel.com>2020-10-29 20:13:50 +0100
committerMarge Bot <eric+marge@anholt.net>2020-11-03 10:42:29 +0000
commit06764e0e5d5e37f9a3e00db7676b76d5472e305b (patch)
treea2a3745125352b02cc074a71c8a3ca6576e6e511 /src/intel/compiler/brw_shader.h
parent788f6dc85781c58b37c0d762085090d2d5d8d3d5 (diff)
downloadexternal_mesa3d-06764e0e5d5e37f9a3e00db7676b76d5472e305b.tar.gz
external_mesa3d-06764e0e5d5e37f9a3e00db7676b76d5472e305b.tar.bz2
external_mesa3d-06764e0e5d5e37f9a3e00db7676b76d5472e305b.zip
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>
Diffstat (limited to 'src/intel/compiler/brw_shader.h')
-rw-r--r--src/intel/compiler/brw_shader.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/intel/compiler/brw_shader.h b/src/intel/compiler/brw_shader.h
index 03b09cce8e1..5085d1fb99c 100644
--- a/src/intel/compiler/brw_shader.h
+++ b/src/intel/compiler/brw_shader.h
@@ -69,8 +69,7 @@ public:
exec_list instructions;
cfg_t *cfg;
- BRW_ANALYSIS(idom_analysis, brw::idom_tree,
- const backend_shader *) idom_analysis;
+ brw_analysis<brw::idom_tree, backend_shader> idom_analysis;
gl_shader_stage stage;
bool debug_enabled;