etnaviv: nir: add compile_check_limits
authorJonathan Marek <jonathan@marek.ca>
Sun, 15 Mar 2020 22:53:36 +0000 (18:53 -0400)
committerMarge Bot <eric+marge@anholt.net>
Sun, 22 Mar 2020 00:29:36 +0000 (00:29 +0000)
commitf8bbf44ca4d32889232ced844a1b939b8a86f727
tree52bc05dbcb269df820c6c70652b1262407a1a693
parent303842b2dbf30e7dd1a4cd463e76aecf81adebb8
etnaviv: nir: add compile_check_limits

To match TGSI compiler behaviour in glmark terrain scene for example.

Signed-off-by: Jonathan Marek <jonathan@marek.ca>
Reviewed-by: Lucas Stach <l.stach@pengutronix.de>
Reviewed-by: Christian Gmeiner <christian.gmeiner@gmail.com>
Tested-by: Marge Bot <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4199>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/4199>
src/gallium/drivers/etnaviv/etnaviv_compiler_nir.c