From 061da9f748fb33e542d42cd0f0499a44c3a118b5 Mon Sep 17 00:00:00 2001 From: Kenneth Graunke Date: Mon, 3 Jun 2024 00:23:08 -0700 Subject: [PATCH] intel/brw: Make brw_reg::bits publicly accessible from fs_reg I want to be able to hash an fs_reg, including all the brw_reg fields. It's easiest to do this if I can use the "bits" union field that incorporates many of the other ones. We also move the using declaration for "nr" down because that field was moved to the second section a while back. Reviewed-by: Caio Oliveira Part-of: --- src/intel/compiler/brw_ir_fs.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/intel/compiler/brw_ir_fs.h b/src/intel/compiler/brw_ir_fs.h index dacbc1bea0f..aac4c515ca6 100644 --- a/src/intel/compiler/brw_ir_fs.h +++ b/src/intel/compiler/brw_ir_fs.h @@ -75,8 +75,9 @@ public: using brw_reg::abs; using brw_reg::address_mode; using brw_reg::subnr; - using brw_reg::nr; + using brw_reg::bits; + using brw_reg::nr; using brw_reg::swizzle; using brw_reg::writemask; using brw_reg::indirect_offset;