Re: [Mesa-dev] [PATCH] i965: Serialize nir later in the linking process

2017-12-01 Thread Kenneth Graunke
On Friday, December 1, 2017 3:08:07 PM PST Jordan Justen wrote: > 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

Re: [Mesa-dev] [PATCH] i965: Serialize nir later in the linking process

2017-12-01 Thread Jason Ekstrand
Based on what you pasted on IRC the other day, I'm guessing the problem was the missing unify_interfaces(). In any case, this looks much better. The closer serialization happens to back-end shader compilation, the better. Reviewed-by: Jason Ekstrand On Fri, Dec 1, 2017 at 3:08 PM, Jordan Juste

[Mesa-dev] [PATCH] i965: Serialize nir later in the linking process

2017-12-01 Thread Jordan Justen
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 --- s