[Mesa-dev] [PATCH] i965: Treat Haswell as 75 in the surface format table.

Matt Turner mattst88 at gmail.com
Wed May 8 14:43:05 PDT 2013


On Wed, May 8, 2013 at 2:39 PM, Kenneth Graunke <kenneth at whitecape.org> wrote:
> Much like we do for G45.
>
> Signed-off-by: Kenneth Graunke <kenneth at whitecape.org>
> ---
>  src/mesa/drivers/dri/i965/brw_wm_surface_state.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c
> index ee2c9f1..09c0a9a 100644
> --- a/src/mesa/drivers/dri/i965/brw_wm_surface_state.c
> +++ b/src/mesa/drivers/dri/i965/brw_wm_surface_state.c
> @@ -488,7 +488,7 @@ brw_init_surface_formats(struct brw_context *brw)
>     gl_format format;
>
>     gen = intel->gen * 10;
> -   if (intel->is_g4x)
> +   if (intel->is_g4x || intel->is_haswell)
>        gen += 5;
>
>     for (format = MESA_FORMAT_NONE + 1; format < MESA_FORMAT_COUNT; format++) {
> --

Reviewed-by: Matt Turner <mattst88 at gmail.com>


More information about the mesa-dev mailing list