iris: Split out an IRIS_DOMAIN_SAMPLER_READ domain from OTHER_READ
The bulk of IRIS_DOMAIN_OTHER_READ domain usage was the 3D sampler, but there were also a few oddball cases like command streamer reads, blitter access, and so on. The sampler is definitely L3 coherent, but some off the more esoteric reads may not be, so I'd like to separate them, so that OTHER_READ can become a non-L3-coherent kitchen-sink domain. The sampler cases only need TEXTURE_CACHE_INVALIDATE, and can skip the CONSTANT_CACHE_INVALIDATE we had on IRIS_DOMAIN_OTHER_READ. Reviewed-by: Francisco Jerez <currojerez@riseup.net> Reviewed-by: Rohan Garg <rohan.garg@intel.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/15275>
This commit is contained in:

committed by
Marge Bot

parent
8e0ff0275d
commit
d39bd7ba70
@@ -400,7 +400,7 @@ iris_blorp_exec_render(struct blorp_batch *blorp_batch,
|
||||
|
||||
if (params->src.enabled)
|
||||
iris_bo_bump_seqno(params->src.addr.buffer, batch->next_seqno,
|
||||
IRIS_DOMAIN_OTHER_READ);
|
||||
IRIS_DOMAIN_SAMPLER_READ);
|
||||
if (params->dst.enabled)
|
||||
iris_bo_bump_seqno(params->dst.addr.buffer, batch->next_seqno,
|
||||
IRIS_DOMAIN_RENDER_WRITE);
|
||||
|
Reference in New Issue
Block a user