Module: Mesa
Branch: master
Commit: 318cf3ffa430d29b50237e3a9817621d8d8dd0bc
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=318cf3ffa430d29b50237e3a9817621d8d8dd0bc

Author: Jason Ekstrand <jason.ekstr...@intel.com>
Date:   Fri Nov 18 11:33:20 2016 -0800

intel/aubinator: Fix the kernel start pointer for 3DSTATE_HS

Reviewed-by: Kristian H. Kristensen <hoegsb...@google.com>

---

 src/intel/tools/aubinator.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/intel/tools/aubinator.c b/src/intel/tools/aubinator.c
index 0da01f4..f5e5167 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;

_______________________________________________
mesa-commit mailing list
mesa-commit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to