diff options
Diffstat (limited to 'src/gallium/drivers/ilo/ilo_layout.c')
-rw-r--r-- | src/gallium/drivers/ilo/ilo_layout.c | 4 |
1 files changed, 3 insertions, 1 deletions
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)); |