mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 21:40:08 +01:00
agx: Use agx_emit_collect for st_tile
Instead of open coding. Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21430>
This commit is contained in:
parent
7bb8112fd1
commit
ea37d7f81f
1 changed files with 1 additions and 3 deletions
|
|
@ -470,9 +470,7 @@ agx_emit_local_store_pixel(agx_builder *b, nir_intrinsic_instr *instr)
|
|||
compacted[compact_count++] = agx_extract_nir_src(b, instr->src[0], i);
|
||||
}
|
||||
|
||||
agx_index src0 = agx_src_index(&instr->src[0]);
|
||||
agx_index collected = agx_temp(b->shader, src0.size);
|
||||
agx_emit_collect_to(b, collected, compact_count, compacted);
|
||||
agx_index collected = agx_emit_collect(b, compact_count, compacted);
|
||||
|
||||
b->shader->did_writeout = true;
|
||||
return agx_st_tile(b, collected, agx_src_index(&instr->src[1]),
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue