mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-06-11 07:38:20 +02:00
intel/compiler: Disable compaction on gen12 for now
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
d7a1140c45
commit
bdeb498070
1 changed files with 7 additions and 1 deletions
|
|
@ -1491,6 +1491,12 @@ brw_init_compaction_tables(const struct gen_device_info *devinfo)
|
|||
assert(gen11_datatype_table[ARRAY_SIZE(gen11_datatype_table) - 1] != 0);
|
||||
|
||||
switch (devinfo->gen) {
|
||||
case 12:
|
||||
control_index_table = NULL;
|
||||
datatype_table = NULL;
|
||||
subreg_table = NULL;
|
||||
src_index_table = NULL;
|
||||
break;
|
||||
case 11:
|
||||
control_index_table = gen8_control_index_table;
|
||||
datatype_table = gen11_datatype_table;
|
||||
|
|
@ -1533,7 +1539,7 @@ void
|
|||
brw_compact_instructions(struct brw_codegen *p, int start_offset,
|
||||
struct disasm_info *disasm)
|
||||
{
|
||||
if (unlikely(INTEL_DEBUG & DEBUG_NO_COMPACTION))
|
||||
if (unlikely(INTEL_DEBUG & DEBUG_NO_COMPACTION) || p->devinfo->gen > 11)
|
||||
return;
|
||||
|
||||
const struct gen_device_info *devinfo = p->devinfo;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue