From: Chia-I Wu Date: Sun, 25 Jan 2015 07:12:52 +0000 (+0800) Subject: ilo: update texture layout for Gen8 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7922982d4f192475f102fe6fc308c063ab654d00;p=mesa.git ilo: update texture layout for Gen8 --- diff --git a/src/gallium/drivers/ilo/ilo_layout.c b/src/gallium/drivers/ilo/ilo_layout.c index 1643e7acf0e..2de7bd276c7 100644 --- a/src/gallium/drivers/ilo/ilo_layout.c +++ b/src/gallium/drivers/ilo/ilo_layout.c @@ -423,7 +423,9 @@ layout_init_alignments(struct ilo_layout *layout, } } } else { - const bool valign_4 = (templ->nr_samples > 1) || + const bool valign_4 = + (templ->nr_samples > 1) || + (ilo_dev_gen(params->dev) >= ILO_GEN(8)) || (ilo_dev_gen(params->dev) >= ILO_GEN(7) && layout->tiling == INTEL_TILING_Y && (templ->bind & PIPE_BIND_RENDER_TARGET));