intel/ir: Import shader performance analysis pass.
[mesa.git] / src / intel / compiler / brw_fs.h
index b421723c53ec8468612e161bf17f47e5f8dfaa31..4e8f8ccac78775fab3390b4a9daf9bb47ac7e13b 100644 (file)
@@ -32,6 +32,7 @@
 #include "brw_ir_fs.h"
 #include "brw_fs_builder.h"
 #include "brw_fs_live_variables.h"
+#include "brw_ir_performance.h"
 #include "compiler/nir/nir.h"
 
 struct bblock_t;
@@ -349,6 +350,8 @@ public:
                 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;
 
    /** Number of uniform variable components visited. */
    unsigned uniforms;