mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
i965: Use the new nir atomic counter linker for SPIR-V shaders
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:
parent
c13f8ea8ac
commit
590cc7c8f6
1 changed files with 2 additions and 0 deletions
|
|
@ -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. */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue