mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 02:48:06 +02:00
brw: scalarize even 64-bit scratch access
No, I don't know how this worked before, thanks for asking. Signed-off-by: Alyssa Rosenzweig <alyssa.rosenzweig@intel.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/40843>
This commit is contained in:
parent
15b11635a2
commit
140616d26a
1 changed files with 1 additions and 1 deletions
|
|
@ -2350,7 +2350,7 @@ get_mem_access_size_align(nir_intrinsic_op intrin, uint8_t bytes,
|
|||
* two 32bit single vector access since it supports direct 64bit data
|
||||
* operation.
|
||||
*/
|
||||
if (devinfo->has_lsc && align == 8 && bit_size == 64) {
|
||||
if (devinfo->has_lsc && align == 8 && bit_size == 64 && !is_scratch) {
|
||||
return (nir_mem_access_size_align) {
|
||||
.bit_size = bit_size,
|
||||
.num_components = bytes / 8,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue