> +/**
> + * Check that the register region given by r [r.offset, r.offset + dr[
> + * is exactly the same as the the register region given by s
> + * [s.offset, s.offset + ds[
> + */
> +static inline bool
> +region_match(const fs_reg , unsigned dr, const fs_reg , unsigned ds)
> +{
> + return
This checks whether two register regions are an exact match.
---
src/intel/compiler/brw_ir_fs.h | 13 +
1 file changed, 13 insertions(+)
diff --git a/src/intel/compiler/brw_ir_fs.h b/src/intel/compiler/brw_ir_fs.h
index f06a33c516d..cad333b6b6d 100644
---