From ce728594fdc7179d4b346ab342535de84179f172 Mon Sep 17 00:00:00 2001 From: Rafael Antognolli Date: Tue, 13 Jun 2017 16:47:51 -0700 Subject: 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 Reviewed-by: Kenneth Graunke --- src/mesa/drivers/dri/i965/gen4_blorp_exec.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/mesa') 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; -- cgit v1.2.3