i965: Use the new nir atomic counter linker for SPIR-V shaders

Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:
Neil Roberts 2017-11-29 10:14:25 +01:00 committed by Alejandro Piñeiro
parent c13f8ea8ac
commit 590cc7c8f6

View file

@ -265,6 +265,8 @@ brw_link_shader(struct gl_context *ctx, struct gl_shader_program *shProg)
if (shProg->data->spirv) {
if (!gl_nir_link_uniforms(ctx, shProg))
return false;
gl_nir_link_assign_atomic_counter_resources(ctx, shProg);
}
/* Determine first and last stage. */