pan/mdg: Fix non-debug compiliation
authorIcecream95 <ixn@keemail.me>
Tue, 14 Jul 2020 03:06:09 +0000 (15:06 +1200)
committerMarge Bot <eric+marge@anholt.net>
Tue, 14 Jul 2020 15:54:41 +0000 (15:54 +0000)
commit6493d29f2117d63d7949fc3888c2c5d901eaeb95
tree68ff2abb544829c544e25416564a82aa30993e49
parent89caa485f15927ebc1f666b57732b55516288c1b
pan/mdg: Fix non-debug compiliation

Fixes error when the assert is optimized out:

   ../src/panfrost/midgard/midgard_compile.c: In function ‘output_load_rt_addr’:
   ../src/panfrost/midgard/midgard_compile.c:1644:1: error: control reaches end of non-void function [-Werror=return-type]
    }

Closes #3270

Fixes: 7781d2c2ead ("pan/mdg: Support MRT in output load lowering")
Reviewed-by: Tomeu Vizoso <tomeu.vizoso@collabora.com>
Reviewed-by: Alyssa Rosenzweig <alyssa.rosenzweig@collabora.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/5895>
src/panfrost/midgard/midgard_compile.c