[Mesa-dev] [PATCH 15/16] i965/icl: Enable float blend optimization and Wa3DStateMode

Kenneth Graunke kenneth at whitecape.org
Wed Feb 14 00:13:13 UTC 2018


On Tuesday, February 13, 2018 11:15:15 AM PST Anuj Phogat wrote:
> Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
> ---
>  src/mesa/drivers/dri/i965/brw_state_upload.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/src/mesa/drivers/dri/i965/brw_state_upload.c b/src/mesa/drivers/dri/i965/brw_state_upload.c
> index 2c8c0f4b27..86c12e4d35 100644
> --- a/src/mesa/drivers/dri/i965/brw_state_upload.c
> +++ b/src/mesa/drivers/dri/i965/brw_state_upload.c
> @@ -62,7 +62,7 @@ brw_upload_initial_gpu_state(struct brw_context *brw)
>  
>     brw_upload_invariant_state(brw);
>  
> -   if (devinfo->gen == 10) {
> +   if (devinfo->gen == 10 || devinfo->gen == 11) {
>        brw_load_register_imm32(brw, GEN10_CACHE_MODE_SS,
>                                REG_MASK(GEN10_FLOAT_BLEND_OPTIMIZATION_ENABLE) |
>                                GEN10_FLOAT_BLEND_OPTIMIZATION_ENABLE);
> 

Yep, looks like the default is still off for some reason.

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/20180213/dc5e9547/attachment.sig>


More information about the mesa-dev mailing list