summaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_vec4_reg_allocate.cpp
diff options
context:
space:
mode:
authorMatt Turner <mattst88@gmail.com>2014-06-29 15:27:07 -0700
committerMatt Turner <mattst88@gmail.com>2014-07-05 22:42:30 -0700
commitc019105f3742b39ba6913235f85ddfb327a39d12 (patch)
tree82d3652be9b5ac59871bee03e27b08385108a495 /src/mesa/drivers/dri/i965/brw_vec4_reg_allocate.cpp
parent9377b189f75e1cc440b7e2ef955cb1700c486887 (diff)
downloadexternal_mesa3d-c019105f3742b39ba6913235f85ddfb327a39d12.zip
external_mesa3d-c019105f3742b39ba6913235f85ddfb327a39d12.tar.gz
external_mesa3d-c019105f3742b39ba6913235f85ddfb327a39d12.tar.bz2
i965: Make a common backend_reg class.
Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vec4_reg_allocate.cpp')
-rw-r--r--src/mesa/drivers/dri/i965/brw_vec4_reg_allocate.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4_reg_allocate.cpp b/src/mesa/drivers/dri/i965/brw_vec4_reg_allocate.cpp
index 4ffc537..1caf5ab 100644
--- a/src/mesa/drivers/dri/i965/brw_vec4_reg_allocate.cpp
+++ b/src/mesa/drivers/dri/i965/brw_vec4_reg_allocate.cpp
@@ -34,7 +34,7 @@ using namespace brw;
namespace brw {
static void
-assign(unsigned int *reg_hw_locations, reg *reg)
+assign(unsigned int *reg_hw_locations, backend_reg *reg)
{
if (reg->file == GRF) {
reg->reg = reg_hw_locations[reg->reg];