From b163aa01487ab5f9b22c48b7badc5d65999c4985 Mon Sep 17 00:00:00 2001 From: Matt Turner Date: Mon, 26 Oct 2015 17:09:25 -0700 Subject: i965: Rename GRF to VGRF. The 2-bit hardware register file field is ARF, GRF, MRF, IMM. Rename GRF to VGRF (virtual GRF) so that we can reuse the GRF name to mean an assigned general purpose register. Reviewed-by: Emil Velikov Reviewed-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/brw_shader.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/mesa/drivers/dri/i965/brw_shader.h') diff --git a/src/mesa/drivers/dri/i965/brw_shader.h b/src/mesa/drivers/dri/i965/brw_shader.h index 5632378eed7..bc723adc317 100644 --- a/src/mesa/drivers/dri/i965/brw_shader.h +++ b/src/mesa/drivers/dri/i965/brw_shader.h @@ -39,7 +39,7 @@ #define MAX_VGRF_SIZE 16 enum PACKED register_file { - GRF, + VGRF, MRF, IMM, HW_REG, /* a struct brw_reg */ @@ -61,7 +61,7 @@ struct backend_reg : public brw_reg bool is_accumulator() const; bool in_range(const backend_reg &r, unsigned n) const; - enum register_file file; /**< Register file: GRF, MRF, IMM. */ + enum register_file file; /**< Register file: VGRF, MRF, IMM. */ /** * Offset within the virtual register. -- cgit v1.2.3