diff options
author | Paul Berry <[email protected]> | 2013-02-15 20:33:31 -0800 |
---|---|---|
committer | Paul Berry <[email protected]> | 2013-04-11 09:25:24 -0700 |
commit | d7af636473e2b8055b94a4e28fcf3272b35094be (patch) | |
tree | 63a972e7b706bcff45f901c9363985f7364591d9 /src/mesa/drivers/dri/i965/brw_vec4_reg_allocate.cpp | |
parent | 09cd6e06d2c7a54ca6eb8d3102822efa78e01a9c (diff) |
i965/vs: split brw_vs_compile into generic and VS-specific parts.
This will allow the generic parts to be re-used for geometry shaders.
Reviewed-by: Jordan Justen <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Reviewed-by: Kenneth Graunke <[email protected]>
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.cpp | 2 |
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 ac3d401ac3f..0853c0a0209 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4_reg_allocate.cpp +++ b/src/mesa/drivers/dri/i965/brw_vec4_reg_allocate.cpp @@ -321,7 +321,7 @@ void vec4_visitor::spill_reg(int spill_reg_nr) { assert(virtual_grf_sizes[spill_reg_nr] == 1); - unsigned int spill_offset = c->last_scratch++; + unsigned int spill_offset = c->base.last_scratch++; /* Generate spill/unspill instructions for the objects being spilled. */ foreach_list(node, &this->instructions) { |