[Mesa-dev] [PATCH 09/10] anv/icl: Enable float blend optimization

Jason Ekstrand jason at jlekstrand.net
Fri Feb 16 02:13:13 UTC 2018


On Thu, Feb 15, 2018 at 5:44 PM, Anuj Phogat <anuj.phogat at gmail.com> wrote:

> Signed-off-by: Anuj Phogat <anuj.phogat at gmail.com>
> ---
>  src/intel/vulkan/genX_state.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/intel/vulkan/genX_state.c b/src/intel/vulkan/genX_state.c
> index 54fb8634fd..f39508034f 100644
> --- a/src/intel/vulkan/genX_state.c
> +++ b/src/intel/vulkan/genX_state.c
> @@ -121,7 +121,7 @@ genX(init_device_state)(struct anv_device *device)
>     }
>  #endif
>
> -#if GEN_GEN == 10
> +#if GEN_GEN == 10 || GEN_GEN == 11
>

Might as well make this GEN_GEN >= 10


>     uint32_t cache_mode_ss;
>     anv_pack_struct(&cache_mode_ss, GENX(CACHE_MODE_SS),
>                     .FloatBlendOptimizationEnable = true,
> --
> 2.13.6
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> https://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/mesa-dev/attachments/20180215/3f77bb27/attachment.html>


More information about the mesa-dev mailing list