nir/large_constants: pass after lowering copy_deref
authorSergii Romantsov <sergii.romantsov@globallogic.com>
Thu, 29 Aug 2019 07:58:38 +0000 (10:58 +0300)
committerDanylo Piliaiev <danylo.piliaiev@gmail.com>
Mon, 16 Sep 2019 11:23:48 +0000 (11:23 +0000)
commit2bfcf043456411a6037404d9afae9760964c9b48
tree8c95176e9fa91265bc3b4b29218c7dc2b077b6f2
parente536446b609b07b655d35fba6957c5c4eb16065a
nir/large_constants: pass after lowering copy_deref

v2: by J.Ekstrand suggestion moved lowering of large
    constants after lowering of copy_deref is done.

CC: Jason Ekstrand <jason@jlekstrand.net>
CC: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=111450
Signed-off-by: Sergii Romantsov <sergii.romantsov@globallogic.com>
src/compiler/nir/nir_opt_large_constants.c
src/intel/compiler/brw_nir.c