mirror of
https://github.com/tiagovignatti/intel-gpu-tools.git
synced 2025-06-11 01:46:14 +00:00
fix the parameters of register region
Signed-off-by: Xiang, Haihao <haihao.xiang@intel.com>
This commit is contained in:
parent
85da7b9e8a
commit
e7f4dc6e39
@ -2410,6 +2410,12 @@ static void reset_instruction_src_region(struct brw_instruction *instr,
|
|||||||
} else {
|
} else {
|
||||||
width = (1 << instr->header.execution_size) / horiz_stride;
|
width = (1 << instr->header.execution_size) / horiz_stride;
|
||||||
vert_stride = horiz_stride * width;
|
vert_stride = horiz_stride * width;
|
||||||
|
|
||||||
|
if (get_type_size(src->reg_type) * (width + src->subreg_nr) > 32) {
|
||||||
|
horiz_stride = 0;
|
||||||
|
width = 1;
|
||||||
|
vert_stride = 0;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user