i965: Link XFB varyings for SPIR-V shaders
authorNeil Roberts <nroberts@igalia.com>
Tue, 12 Dec 2017 16:30:57 +0000 (17:30 +0100)
committerAlejandro Piñeiro <apinheiro@igalia.com>
Tue, 31 Jul 2018 11:33:37 +0000 (13:33 +0200)
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/mesa/drivers/dri/i965/brw_link.cpp

index e7a940e15c2608a720d7ef334828e6c44af8af8a..0723255dec6cc16ff8bcdc392802145496f027f1 100644 (file)
@@ -267,6 +267,7 @@ brw_link_shader(struct gl_context *ctx, struct gl_shader_program *shProg)
          return false;
 
       gl_nir_link_assign_atomic_counter_resources(ctx, shProg);
+      gl_nir_link_assign_xfb_resources(ctx, shProg);
    }
 
    /* Determine first and last stage. */