From: Jason Ekstrand Date: Fri, 18 Nov 2016 19:33:20 +0000 (-0800) Subject: intel/aubinator: Fix the kernel start pointer for 3DSTATE_HS X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=318cf3ffa430d29b50237e3a9817621d8d8dd0bc;p=mesa.git intel/aubinator: Fix the kernel start pointer for 3DSTATE_HS Reviewed-by: Kristian H. Kristensen --- diff --git a/src/intel/tools/aubinator.c b/src/intel/tools/aubinator.c index 0da01f4167c..f5e51676a34 100644 --- a/src/intel/tools/aubinator.c +++ b/src/intel/tools/aubinator.c @@ -442,9 +442,9 @@ handle_3dstate_hs(struct gen_spec *spec, uint32_t *p) int hs_enable; if (gen_spec_get_gen(spec) >= gen_make_gen(8, 0)) { - start = get_qword(&p[4]); + start = get_qword(&p[3]); } else { - start = p[4]; + start = p[3]; } hs_enable = p[2] & 0x80000000;