glsl: add gl_nir_link_check_atomic_counter_resources()
authorTimothy Arceri <tarceri@itsqueeze.com>
Wed, 11 Dec 2019 05:12:54 +0000 (16:12 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Mon, 6 Jan 2020 21:38:52 +0000 (08:38 +1100)
commit0e60ea1d67b2b1398be44cc8ae2ad069bc5980bd
tree3c577a22537a65fd202ad45a924b6feacb67a388
parent432ed13decc3b246deb6dc98e638819deec1b5d3
glsl: add gl_nir_link_check_atomic_counter_resources()

This is pretty much a copy of link_check_atomic_counter_resources()
updated to work with the NIR linker.

Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
src/compiler/glsl/gl_nir_link_atomics.c
src/compiler/glsl/gl_nir_linker.h