summaryrefslogtreecommitdiffstats
path: root/src/intel/compiler/brw_eu.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/intel/compiler/brw_eu.h')
-rw-r--r--src/intel/compiler/brw_eu.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/intel/compiler/brw_eu.h b/src/intel/compiler/brw_eu.h
index d8c9be2e544..95503d55135 100644
--- a/src/intel/compiler/brw_eu.h
+++ b/src/intel/compiler/brw_eu.h
@@ -65,6 +65,16 @@ struct brw_codegen {
bool compressed_stack[BRW_EU_MAX_INSN_STACK];
brw_inst *current;
+ /** Whether or not the user wants automatic exec sizes
+ *
+ * If true, codegen will try to automatically infer the exec size of an
+ * instruction from the width of the destination register. If false, it
+ * will take whatever is set by brw_set_default_exec_size verbatim.
+ *
+ * This is set to true by default in brw_init_codegen.
+ */
+ bool automatic_exec_sizes;
+
bool single_program_flow;
const struct gen_device_info *devinfo;