mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 13:28:06 +02:00
ilo: 128 BPP formats can use TiledY on Gen7.5+
The restriction is lifted.
This commit is contained in:
parent
f8e4792b22
commit
226109436f
1 changed files with 6 additions and 1 deletions
|
|
@ -508,8 +508,13 @@ layout_get_valid_tilings(const struct ilo_layout *layout,
|
|||
*
|
||||
* "NOTE: 128BPE Format Color buffer ( render target ) MUST be
|
||||
* either TileX or Linear."
|
||||
*
|
||||
* From the Haswell PRM, volume 5, page 32:
|
||||
*
|
||||
* "NOTE: 128 BPP format color buffer (render target) supports
|
||||
* Linear, TiledX and TiledY."
|
||||
*/
|
||||
if (layout->block_size == 16)
|
||||
if (ilo_dev_gen(params->dev) < ILO_GEN(7.5) && layout->block_size == 16)
|
||||
valid_tilings &= ~LAYOUT_TILING_Y;
|
||||
|
||||
/*
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue