mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 13:10:10 +01:00
aco: don't split swizzled store_buffer_amd on GFX9+
This isn't necessary. Signed-off-by: Rhys Perry <pendingchaos02@gmail.com> Reviewed-by: Daniel Schürmann <daniel@schuermann.dev> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19228>
This commit is contained in:
parent
e6d26cb288
commit
14a1925727
1 changed files with 3 additions and 2 deletions
|
|
@ -5157,8 +5157,9 @@ store_vmem_mubuf(isel_context* ctx, Temp src, Temp descriptor, Temp voffset, Tem
|
|||
unsigned write_count = 0;
|
||||
Temp write_datas[32];
|
||||
unsigned offsets[32];
|
||||
split_buffer_store(ctx, NULL, false, RegType::vgpr, src, write_mask, swizzled ? 4 : 16,
|
||||
&write_count, write_datas, offsets);
|
||||
split_buffer_store(ctx, NULL, false, RegType::vgpr, src, write_mask,
|
||||
swizzled && ctx->program->gfx_level <= GFX8 ? 4 : 16, &write_count,
|
||||
write_datas, offsets);
|
||||
|
||||
for (unsigned i = 0; i < write_count; i++) {
|
||||
unsigned const_offset = offsets[i] + base_const_offset;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue