glsl: add subroutine support to nir_build_program_resource_list()
authorTimothy Arceri <tarceri@itsqueeze.com>
Wed, 23 Oct 2019 02:43:34 +0000 (13:43 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Fri, 13 Dec 2019 00:07:19 +0000 (00:07 +0000)
commitd0259f415985b000cb52afe8f1f1dcd3de2c9955
treeae7aeba58fde98bd579ecfc5e158d024a047ccce
parent46f9f74c574abfdecea6a789380d7a00540e69d7
glsl: add subroutine support to nir_build_program_resource_list()

This is required so we can use the NIR linker to link GLSL in
addition to spirv.

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