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 <kenn...@whitecape.org>

Attachment: signature.asc
Description: This is a digitally signed message part.

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to