diff options
author | Jason Ekstrand <[email protected]> | 2017-08-31 22:12:48 -0700 |
---|---|---|
committer | Jason Ekstrand <[email protected]> | 2018-03-07 12:13:47 -0800 |
commit | 2292b20b2969c9e3e0494ccc55c6216f330762ae (patch) | |
tree | 5024e1852feb8a26ca8cadd4b62bfa12aadf41f3 /src/intel/compiler/brw_reg.h | |
parent | 4150920b95b8a7db84cd4607ede09f42b85530bb (diff) |
intel/fs: Implement reduce and scan opeprations
Acked-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Iago Toral Quiroga <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_reg.h')
-rw-r--r-- | src/intel/compiler/brw_reg.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/intel/compiler/brw_reg.h b/src/intel/compiler/brw_reg.h index c41408104fa..7ad144bdfd5 100644 --- a/src/intel/compiler/brw_reg.h +++ b/src/intel/compiler/brw_reg.h @@ -590,6 +590,14 @@ brw_imm_df(double df) } static inline struct brw_reg +brw_imm_u64(uint64_t u64) +{ + struct brw_reg imm = brw_imm_reg(BRW_REGISTER_TYPE_UQ); + imm.u64 = u64; + return imm; +} + +static inline struct brw_reg brw_imm_f(float f) { struct brw_reg imm = brw_imm_reg(BRW_REGISTER_TYPE_F); |