commit | 2a9f4618c52400115e05e8c30e3c32e5ab183078 | [log] [tgz] |
---|---|---|
author | Caio Oliveira <caio.oliveira@intel.com> | Fri Jun 14 13:07:15 2024 -0700 |
committer | Marge Bot <emma+marge@anholt.net> | Wed Jun 19 01:33:58 2024 +0000 |
tree | 363f683ddacb10b7a1224c4b1faaf57dbcf47f10 | |
parent | 8fb70f0746639cf716cab56509f4c84dffe0c8bd [diff] |
intel/brw: Make component_size() consistent between VGRF and FIXED_GRF Change so the size rounds up to the next multiple of the horizontal stride like is done for VGRF. This was causing an inconsistency in regs_read() -- The original component_size() calculation for FIXED_GRF excluded any padding at the end but it was still being discounted by regs_read(). Suggested by Curro. Fixes: https://gitlab.freedesktop.org/mesa/mesa/-/issues/11069 Reviewed-by: Francisco Jerez <currojerez@riseup.net> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/29736>