iris: Clone the NIR
authorKenneth Graunke <kenneth@whitecape.org>
Fri, 9 Nov 2018 05:48:37 +0000 (21:48 -0800)
committerKenneth Graunke <kenneth@whitecape.org>
Thu, 21 Feb 2019 18:26:09 +0000 (10:26 -0800)
commite98cf9c24baa3ebc6b4c7ed478c6a7d2f1dd399d
tree114bfa89711f1ef2a076f45a07db720d4229b41f
parent587e4381280852977182e63e08b2c00f20a82145
iris: Clone the NIR

The backend compiler used to do this for us, but after a rebase, it's
now the driver's responsibility.  This lets us alter it for say, clip
vertex lowering, at the global level rather than the per-variant level.
src/gallium/drivers/iris/iris_program.c