aboutsummaryrefslogtreecommitdiffstats
path: root/src/intel/tools
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2016-11-18 11:33:20 -0800
committerJason Ekstrand <[email protected]>2016-11-28 16:45:09 -0800
commit318cf3ffa430d29b50237e3a9817621d8d8dd0bc (patch)
tree11a95ab97e2e349cd0461b706ae541059d6cbe8e /src/intel/tools
parent294daaa36f86530d30e61eb6228b61a474a3c6ad (diff)
intel/aubinator: Fix the kernel start pointer for 3DSTATE_HS
Reviewed-by: Kristian H. Kristensen <[email protected]>
Diffstat (limited to 'src/intel/tools')
-rw-r--r--src/intel/tools/aubinator.c4
1 files changed, 2 insertions, 2 deletions
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;