diff options
author | Eric Anholt <[email protected]> | 2014-05-19 10:10:01 -0700 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2014-07-02 12:45:59 -0700 |
commit | c0f1929dd23bbc558e9eef0f8fd40e10dfef3c21 (patch) | |
tree | e3ffee1f9ab5bda192a0596af8ce374afa67a97f /src/mesa/drivers/dri/i965/brw_vec4_generator.cpp | |
parent | 5ba31c34d8676b713ed031842489e166406d1afc (diff) |
i965: Move dispatch_grf_start_reg and first_curbe_grf into stage_prog_data.
I wanted to access this value from stage-generic code, so stop storing it
under two different names.
Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_vec4_generator.cpp')
-rw-r--r-- | src/mesa/drivers/dri/i965/brw_vec4_generator.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_vec4_generator.cpp b/src/mesa/drivers/dri/i965/brw_vec4_generator.cpp index bc6d1e504d4..07e29a5d32f 100644 --- a/src/mesa/drivers/dri/i965/brw_vec4_generator.cpp +++ b/src/mesa/drivers/dri/i965/brw_vec4_generator.cpp @@ -98,7 +98,7 @@ vec4_instruction::get_src(const struct brw_vec4_prog_data *prog_data, int i) break; case UNIFORM: - brw_reg = stride(brw_vec4_grf(prog_data->dispatch_grf_start_reg + + brw_reg = stride(brw_vec4_grf(prog_data->base.dispatch_grf_start_reg + (src[i].reg + src[i].reg_offset) / 2, ((src[i].reg + src[i].reg_offset) % 2) * 4), 0, 4, 1); |