intel/fs/gen12: Add scheduling information to the IR.
authorFrancisco Jerez <currojerez@riseup.net>
Fri, 9 Nov 2018 22:13:37 +0000 (14:13 -0800)
committerFrancisco Jerez <currojerez@riseup.net>
Fri, 11 Oct 2019 19:24:16 +0000 (12:24 -0700)
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
src/intel/compiler/brw_fs_generator.cpp
src/intel/compiler/brw_ir_fs.h

index 64a380b52047fdea0f822eb3083a2bd228c6053d..ffdcc96f22ae38ecd721a8f111f24a308fb2ff52 100644 (file)
@@ -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 &&
index 831d99607d6ae2d52bd6c90cce7d52605db20fbf..099fb570d70db9c570cd46e341badd87e2f77861 100644 (file)
@@ -384,6 +384,8 @@ public:
 
    bool last_rt:1;
    bool pi_noperspective:1;   /**< Pixel interpolator noperspective flag */
+
+   tgl_swsb sched; /**< Scheduling info. */
 };
 
 /**