mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-23 01:50:24 +01:00
isl/formats: Only advertise sampling for A4B4G4R4 on Broadwell
This causes hangs on Broadwell if you try to render to it. I have no
idea how we managed to not hit this earlier.
Tested-by: Mark Janes <mark.a.janes@intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Cc: "13.0 17.0" <mesa-stable@lists.freedesktop.org>
(cherry picked from commit 4871930451)
This commit is contained in:
parent
cf94d126b6
commit
01044bf446
1 changed files with 3 additions and 2 deletions
|
|
@ -218,9 +218,10 @@ static const struct surface_format_info format_info[] = {
|
|||
SF(50, 50, x, x, x, x, x, x, x, x, P8A8_UNORM_PALETTE1)
|
||||
SF( x, x, x, x, x, x, x, x, x, x, A1B5G5R5_UNORM)
|
||||
/* According to the PRM, A4B4G4R4_UNORM isn't supported until Sky Lake
|
||||
* but empirical testing indicates that it works just fine on Broadwell.
|
||||
* but empirical testing indicates that at least sampling works just fine
|
||||
* on Broadwell.
|
||||
*/
|
||||
SF(80, 80, x, x, 80, x, x, x, x, x, A4B4G4R4_UNORM)
|
||||
SF(80, 80, x, x, 90, x, x, x, x, x, A4B4G4R4_UNORM)
|
||||
SF(90, x, x, x, x, x, x, x, x, x, L8A8_UINT)
|
||||
SF(90, x, x, x, x, x, x, x, x, x, L8A8_SINT)
|
||||
SF( Y, Y, x, 45, Y, Y, Y, x, x, x, R8_UNORM)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue