From e0b8d7953ea405cfbed0b2a1b0a526f8c65bf596 Mon Sep 17 00:00:00 2001 From: Francisco Jerez Date: Fri, 9 Nov 2018 14:13:37 -0800 Subject: [PATCH] intel/fs/gen12: Add scheduling information to the IR. Reviewed-by: Caio Marcelo de Oliveira Filho --- src/intel/compiler/brw_fs_generator.cpp | 1 + src/intel/compiler/brw_ir_fs.h | 2 ++ 2 files changed, 3 insertions(+) diff --git a/src/intel/compiler/brw_fs_generator.cpp b/src/intel/compiler/brw_fs_generator.cpp index 64a380b5204..ffdcc96f22a 100644 --- a/src/intel/compiler/brw_fs_generator.cpp +++ b/src/intel/compiler/brw_fs_generator.cpp @@ -1777,6 +1777,7 @@ fs_generator::generate_code(const cfg_t *cfg, int dispatch_width, brw_set_default_saturate(p, inst->saturate); brw_set_default_mask_control(p, inst->force_writemask_all); brw_set_default_acc_write_control(p, inst->writes_accumulator); + brw_set_default_swsb(p, inst->sched); unsigned exec_size = inst->exec_size; if (devinfo->gen == 7 && !devinfo->is_haswell && diff --git a/src/intel/compiler/brw_ir_fs.h b/src/intel/compiler/brw_ir_fs.h index 831d99607d6..099fb570d70 100644 --- a/src/intel/compiler/brw_ir_fs.h +++ b/src/intel/compiler/brw_ir_fs.h @@ -384,6 +384,8 @@ public: bool last_rt:1; bool pi_noperspective:1; /**< Pixel interpolator noperspective flag */ + + tgl_swsb sched; /**< Scheduling info. */ }; /** -- 2.30.2