mesa/src/amd
Dave Airlie 488460b1ef ac/surface: handle S8 on gfx9
If we don't have a depth piece, we don't get a correct
swizzle mode and we hit an assert in addrlib.

In case of no depth get the preferrred swizzle mode for
stencil alone.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Cc: "17.2" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit c4ac522511)

Squashed with commit:

ac/surface: handle error when choosing preferred swizzle mode

CID: 1418140
Fixes: c4ac522511 ("ac/surface: handle S8 on gfx9")
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
(cherry picked from commit eb71394ff3)

Signed-off-by: Juan A. Suarez Romero <jasuarez@igalia.com>
2017-09-28 13:54:56 +00:00
..
addrlib amd/addrlib: fix typo in api name. 2017-07-17 01:44:14 +01:00
common ac/surface: handle S8 on gfx9 2017-09-28 13:54:56 +00:00
vulkan radv/nir: call opt_remove_phis after trivial continues. 2017-09-26 12:17:33 +02:00
Android.addrlib.mk Android: amd: use exported include dirs instead of explicit includes 2017-05-11 13:52:21 +01:00
Android.common.mk Android: Fix LLVM duplicated symbols linking for N and M 2017-08-29 18:37:57 +01:00
Android.mk android: amd/common: add support for libmesa_amd_common 2016-11-05 18:42:29 +01:00
Makefile.addrlib.am amd/addrlib: import gfx9 support 2017-03-30 14:44:33 +02:00
Makefile.am ac: automake: rework sid_tables.h generation 2017-01-12 19:29:28 +00:00
Makefile.common.am Revert "amd/common: add missing libdrm include path" 2017-06-16 12:41:44 +01:00
Makefile.sources ac/radeonsi: move radeon_info initialization to amd/common 2017-05-18 11:48:52 +02:00