nir: Allow opt_large_constants to be run with constant_data_size > 0
authorJason Ekstrand <jason@jlekstrand.net>
Tue, 18 Aug 2020 21:11:28 +0000 (16:11 -0500)
committerMarge Bot <eric+marge@anholt.net>
Tue, 1 Sep 2020 20:50:04 +0000 (20:50 +0000)
commitbb8d8ba9c7f73e14f4053756bc1feab8cbf3b0d6
treef0a6c632780f2f492e18ef0b53c4fe01d5abdfa8
parent4360a8a2b3fce819e93c2844077ac0b26d234ead
nir: Allow opt_large_constants to be run with constant_data_size > 0

Reviewed-by: Eric Anholt <eric@anholt.net>
Reviewed-by: Jesse Natalie <jenatali@microsoft.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6379>
src/compiler/nir/nir_opt_large_constants.c