i965: Serialize nir later in the linking process
authorJordan Justen <jordan.l.justen@intel.com>
Fri, 1 Dec 2017 01:48:57 +0000 (17:48 -0800)
committerJordan Justen <jordan.l.justen@intel.com>
Sat, 2 Dec 2017 07:17:44 +0000 (23:17 -0800)
commitfc033742d2128ccfda6bf4c92254f632b9445b0c
tree78a383309a45f7c1fb58ea00756ed4f089955160
parentd93fabb013279d06ab025448afce1e5f665880ee
i965: Serialize nir later in the linking process

Fixes MESA_GLSL=cache_fb with piglit
tests/spec/glsl-1.50/execution/geometry/clip-distance-vs-gs-out.shader_test

Fixes: 0610a624a12 i965/link: Serialize program to nir after linking for shader cache
Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=103988
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/drivers/dri/i965/brw_link.cpp