diff options
author | Ian Romanick <[email protected]> | 2019-06-06 11:12:14 -0700 |
---|---|---|
committer | Ian Romanick <[email protected]> | 2019-07-11 10:20:03 -0700 |
commit | 6f6bc842f6672c596edd9c446ff9a1bd0668de0b (patch) | |
tree | cf257cf72b4abaae4aafdd3f15a60b4f1c4acfee /src/intel/compiler/brw_vec4.h | |
parent | 8305766e0e8d7b2b9b7db86472c213ff4307a3c7 (diff) |
intel/vec4: Refactor operand fixing for ffma and flrp
Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/intel/compiler/brw_vec4.h')
-rw-r--r-- | src/intel/compiler/brw_vec4.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/intel/compiler/brw_vec4.h b/src/intel/compiler/brw_vec4.h index 7b25ed61b62..c8804b90f47 100644 --- a/src/intel/compiler/brw_vec4.h +++ b/src/intel/compiler/brw_vec4.h @@ -242,6 +242,9 @@ public: */ src_reg emit_uniformize(const src_reg &src); + /** Fix all float operands of a 3-source instruction. */ + void fix_float_operands(src_reg op[3]); + src_reg fix_3src_operand(const src_reg &src); src_reg resolve_source_modifiers(const src_reg &src); |