projects
/
platform
/
upstream
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c13f8ea
)
i965: Use the new nir atomic counter linker for SPIR-V shaders
author
Neil Roberts
<nroberts@igalia.com>
Wed, 29 Nov 2017 09:14:25 +0000
(10:14 +0100)
committer
Alejandro Piñeiro
<apinheiro@igalia.com>
Tue, 3 Jul 2018 10:41:46 +0000
(12:41 +0200)
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
src/mesa/drivers/dri/i965/brw_link.cpp
patch
|
blob
|
history
diff --git
a/src/mesa/drivers/dri/i965/brw_link.cpp
b/src/mesa/drivers/dri/i965/brw_link.cpp
index
8bc97fa
..
1071056
100644
(file)
--- 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. */