Reviewed-by: Timothy Arceri <tarc...@itsqueeze.com>

On 30/06/18 00:29, Alejandro Piñeiro wrote:
From: Neil Roberts <nrobe...@igalia.com>

---
  src/mesa/drivers/dri/i965/brw_link.cpp | 2 ++
  1 file changed, 2 insertions(+)

diff --git a/src/mesa/drivers/dri/i965/brw_link.cpp 
b/src/mesa/drivers/dri/i965/brw_link.cpp
index 8bc97fa4f3e..1071056f149 100644
--- a/src/mesa/drivers/dri/i965/brw_link.cpp
+++ b/src/mesa/drivers/dri/i965/brw_link.cpp
@@ -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. */

_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/mesa-dev

Reply via email to