aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/brw_fs.cpp
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2014-05-19 10:10:01 -0700
committerKenneth Graunke <[email protected]>2014-07-02 12:45:59 -0700
commitc0f1929dd23bbc558e9eef0f8fd40e10dfef3c21 (patch)
treee3ffee1f9ab5bda192a0596af8ce374afa67a97f /src/mesa/drivers/dri/i965/brw_fs.cpp
parent5ba31c34d8676b713ed031842489e166406d1afc (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_fs.cpp')
-rw-r--r--src/mesa/drivers/dri/i965/brw_fs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mesa/drivers/dri/i965/brw_fs.cpp b/src/mesa/drivers/dri/i965/brw_fs.cpp
index d22b1bf8574..8f20b681c98 100644
--- a/src/mesa/drivers/dri/i965/brw_fs.cpp
+++ b/src/mesa/drivers/dri/i965/brw_fs.cpp
@@ -1465,9 +1465,9 @@ void
fs_visitor::assign_curb_setup()
{
if (dispatch_width == 8) {
- prog_data->first_curbe_grf = payload.num_regs;
+ prog_data->base.dispatch_grf_start_reg = payload.num_regs;
} else {
- prog_data->first_curbe_grf_16 = payload.num_regs;
+ prog_data->dispatch_grf_start_reg_16 = payload.num_regs;
}
prog_data->curb_read_length = ALIGN(stage_prog_data->nr_params, 8) / 8;