mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 05:08:08 +02:00
asahi: don't set writes_memory for tib spilling
we don't want the zs_emit dance emitted, all we care about is making sure tag writes are enabled as if we had a regular tib store Signed-off-by: Alyssa Rosenzweig <alyssa@rosenzweig.io> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/28483>
This commit is contained in:
parent
70395c1ac1
commit
c955845891
2 changed files with 3 additions and 2 deletions
|
|
@ -1143,6 +1143,9 @@ agx_emit_image_store(agx_builder *b, nir_intrinsic_instr *instr)
|
|||
data = agx_emit_collect(b, 4, chan);
|
||||
}
|
||||
|
||||
/* Image stores act like tilebuffer stores when used for tib spilling */
|
||||
b->shader->out->tag_write_disable = false;
|
||||
|
||||
return agx_image_write(b, data, coords, lod, base, index, dim);
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -195,8 +195,6 @@ store_memory(nir_builder *b, unsigned bindless_base, unsigned nr_samples,
|
|||
|
||||
if (nr_samples > 1)
|
||||
nir_pop_if(b, NULL);
|
||||
|
||||
b->shader->info.writes_memory = true;
|
||||
}
|
||||
|
||||
static nir_def *
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue