mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-23 14:00:30 +01:00
intel/brw: Use hstride instead of stride for accumulator
The `stride` field is not meant to be used by ARFs (like the accumulator), and is always 1. Use the `hstride` instead. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28064>
This commit is contained in:
parent
e01266335b
commit
e1afffe7fa
1 changed files with 1 additions and 1 deletions
|
|
@ -66,7 +66,7 @@ namespace {
|
|||
* lowering pass will detect the mismatch in has_invalid_src_region
|
||||
* and fix the sources of the multiply instead of the destination.
|
||||
*/
|
||||
return inst->dst.stride * type_sz(inst->dst.type);
|
||||
return inst->dst.hstride * type_sz(inst->dst.type);
|
||||
} else if (type_sz(inst->dst.type) < get_exec_type_size(inst) &&
|
||||
!is_byte_raw_mov(inst)) {
|
||||
return get_exec_type_size(inst);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue