Browse Source

intel/fs/gen12: Add scheduling information to the IR.

Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
tags/19.3-branchpoint
Francisco Jerez 7 years ago
parent
commit
e0b8d7953e
2 changed files with 3 additions and 0 deletions
  1. 1
    0
      src/intel/compiler/brw_fs_generator.cpp
  2. 2
    0
      src/intel/compiler/brw_ir_fs.h

+ 1
- 0
src/intel/compiler/brw_fs_generator.cpp View 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 &&

+ 2
- 0
src/intel/compiler/brw_ir_fs.h View File

@@ -384,6 +384,8 @@ public:

bool last_rt:1;
bool pi_noperspective:1; /**< Pixel interpolator noperspective flag */

tgl_swsb sched; /**< Scheduling info. */
};

/**

Loading…
Cancel
Save