projects
/
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 8bc97fa4f3ecee837cd6050b52458bf0b58d64c7..1071056f14968c4f1d90fc94a30d53aff2fceb10 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. */