aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa
diff options
context:
space:
mode:
authorNeil Roberts <[email protected]>2017-11-29 10:14:25 +0100
committerAlejandro PiƱeiro <[email protected]>2018-07-03 12:41:46 +0200
commit590cc7c8f67902423d812ab219afec93031c6252 (patch)
tree5fefcb83fa9aa519b7ecfb147d40d47b16b5ea81 /src/mesa
parentc13f8ea8ac5fcf774fa90c79ca0145730c098109 (diff)
i965: Use the new nir atomic counter linker for SPIR-V shaders
Reviewed-by: Timothy Arceri <[email protected]>
Diffstat (limited to 'src/mesa')
-rw-r--r--src/mesa/drivers/dri/i965/brw_link.cpp2
1 files changed, 2 insertions, 0 deletions
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. */