aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/drivers/dri/i965/gen4_blorp_exec.h
diff options
context:
space:
mode:
authorRafael Antognolli <[email protected]>2017-06-13 16:47:51 -0700
committerRafael Antognolli <[email protected]>2017-06-21 10:16:05 -0700
commitce728594fdc7179d4b346ab342535de84179f172 (patch)
treeef9a1af10a4af336a1e14d4e1bb7fefd9fc77b5f /src/mesa/drivers/dri/i965/gen4_blorp_exec.h
parent44415056e7b5cb0137ccc843ab0a4c803d1a38c8 (diff)
intel/genxml: Normalize URB Data field in WM_STATE.
On gen6+, this is called "Dispatch GRF Start Register For Constant/Setup Data 0", while on gen5 and lower it's called only "Dispatch GRF Start Register For URB Data", but it's essentially the same thing (URB data), so rename it to match newer gens and simplify the C code that handles it. Signed-off-by: Rafael Antognolli <[email protected]> Reviewed-by: Kenneth Graunke <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/gen4_blorp_exec.h')
-rw-r--r--src/mesa/drivers/dri/i965/gen4_blorp_exec.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/drivers/dri/i965/gen4_blorp_exec.h b/src/mesa/drivers/dri/i965/gen4_blorp_exec.h
index f1d9394e243..764b1989aaa 100644
--- a/src/mesa/drivers/dri/i965/gen4_blorp_exec.h
+++ b/src/mesa/drivers/dri/i965/gen4_blorp_exec.h
@@ -125,7 +125,7 @@ blorp_emit_wm_state(struct blorp_batch *batch,
}
if (prog_data) {
- wm.DispatchGRFStartRegisterForURBData =
+ wm.DispatchGRFStartRegisterForConstantSetupData0 =
prog_data->base.dispatch_grf_start_reg;
wm.SetupURBEntryReadLength = prog_data->num_varying_inputs * 2;
wm.SetupURBEntryReadOffset = 0;