aco: do not abort if the FS doesn't export anything but has an epilog
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Fri, 24 Jun 2022 12:39:10 +0000 (14:39 +0200)
committerMarge Bot <emma+marge@anholt.net>
Mon, 18 Jul 2022 18:40:02 +0000 (18:40 +0000)
commit2784bfe93fdbf72d63dcbcd08b883e6ad8bccc36
tree18688513832de9e0d50e258169af24b20ac0c234
parenta6dff6caa1f106bfe846544d5173c1909262b1a4
aco: do not abort if the FS doesn't export anything but has an epilog

The main fragment shader can only export MRTZ (if present) and the
epilog will export colors.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Timur Kristóf <timur.kristof@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/17485>
src/amd/compiler/aco_assembler.cpp