[Mesa-dev] [PATCH 2/9] i965: Let the caller of brw_set_dp_write/read_message control the target cache.
Kenneth Graunke
kenneth at whitecape.org
Tue Dec 13 08:57:25 UTC 2016
On Friday, December 9, 2016 11:03:25 AM PST Francisco Jerez wrote:
> brw_set_dp_read_message already had a target_cache argument, but its
> interpretation was rather convoluted (on Gen6 the render cache was
> used if the caller asked for it, otherwise it was ignored using the
> sampler cache instead), and the constant cache wasn't representable at
> all. brw_set_dp_write_message used the data cache on Gen7+ except for
> RENDER_TARGET_WRITE messages, in which case it would use the render
> cache. On Gen6 the render cache was always used.
>
> Instead of the above, provide the shared unit SFID that the caller
> expects will be used. Makes no functional changes.
>
> v3: Non-trivial rebase.
> ---
> src/mesa/drivers/dri/i965/brw_eu.h | 1 +
> src/mesa/drivers/dri/i965/brw_eu_emit.c | 69 +++++++++++-------------
> src/mesa/drivers/dri/i965/brw_vec4_generator.cpp | 15 ++++--
> 3 files changed, 43 insertions(+), 42 deletions(-)
This patch is:
Reviewed-by: Kenneth Graunke <kenneth at whitecape.org>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: This is a digitally signed message part.
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20161213/d6c0e0e5/attachment-0001.sig>
More information about the mesa-dev
mailing list