diff options
author | Jason Ekstrand <[email protected]> | 2018-05-29 14:50:46 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2018-06-04 14:03:03 -0700 |
commit | 381fac274054784e4cbd152168653aecb9f1e5dd (patch) | |
tree | b9e2b83f57c5f6e10ea24b0ba354b0c6be1509f0 /src/intel/compiler/brw_eu.h | |
parent | db38c3b4ba1f9a452b7d16969cd2d3fac46aa45b (diff) |
intel/eu: Add some brw_get_default_ helpers
This is much cleaner than everything that wants a default value poking
at the bits of p->current directly.
Cc: [email protected]
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_eu.h')
-rw-r--r-- | src/intel/compiler/brw_eu.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/intel/compiler/brw_eu.h b/src/intel/compiler/brw_eu.h index 84d5a6f86be..d709d12b671 100644 --- a/src/intel/compiler/brw_eu.h +++ b/src/intel/compiler/brw_eu.h @@ -106,6 +106,9 @@ struct brw_codegen { void brw_pop_insn_state( struct brw_codegen *p ); void brw_push_insn_state( struct brw_codegen *p ); +unsigned brw_get_default_exec_size(struct brw_codegen *p); +unsigned brw_get_default_group(struct brw_codegen *p); +unsigned brw_get_default_access_mode(struct brw_codegen *p); void brw_set_default_exec_size(struct brw_codegen *p, unsigned value); void brw_set_default_mask_control( struct brw_codegen *p, unsigned value ); void brw_set_default_saturate( struct brw_codegen *p, bool enable ); |