mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-07-24 18:35:58 +00:00
fix jump count for Sandybridge.
It is same as Ironlake. Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
This commit is contained in:
parent
eb92c228cd
commit
95d0ce48f6
@ -130,7 +130,7 @@ int main(int argc, char **argv)
|
|||||||
int offset =
|
int offset =
|
||||||
entry1->inst_offset - entry->inst_offset;
|
entry1->inst_offset - entry->inst_offset;
|
||||||
|
|
||||||
if (gen_level == 5)
|
if (gen_level >= 5)
|
||||||
entry->instruction.bits3.ud = 2 * (offset - 1);
|
entry->instruction.bits3.ud = 2 * (offset - 1);
|
||||||
else
|
else
|
||||||
entry->instruction.bits3.ud = offset - 1;
|
entry->instruction.bits3.ud = offset - 1;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user