intel/nir: Take nir_shader*s in brw_nir_link_shaders
authorJason Ekstrand <jason@jlekstrand.net>
Tue, 4 Jun 2019 23:23:17 +0000 (18:23 -0500)
committerJason Ekstrand <jason@jlekstrand.net>
Wed, 5 Jun 2019 20:07:28 +0000 (20:07 +0000)
commit811c05dfe6189cabc6d8aa547a3463778f2d5249
tree946a13c16f870c762406f7b80b8f08471a0f5f0a
parentbb67a99a2dfcf7258498ce868020feacd3d1fc15
intel/nir: Take nir_shader*s in brw_nir_link_shaders

Since NIR_PASS no longer swaps out the NIR pointer when NIR_TEST_* is
enabled, we can just take a single pointer and not a pointer to pointer.

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/intel/compiler/brw_nir.c
src/intel/compiler/brw_nir.h
src/intel/vulkan/anv_pipeline.c
src/mesa/drivers/dri/i965/brw_link.cpp