Re: [Mesa-dev] [PATCH 16/22] compiler/link: move add_program_resource to linker_util

2018-05-02 Thread Timothy Arceri
I'd rename add_program_resource -> link_util_add_program_resource or something like that. And add at the top of the file that these functions are shared between the GLSL IR and NIR linkers. Also the new file should now be located in src/compiler/glsl/ On 18/04/18 00:36, Alejandro Piñeiro wrote

[Mesa-dev] [PATCH 16/22] compiler/link: move add_program_resource to linker_util

2018-04-17 Thread Alejandro Piñeiro
So it could be used by the GLSL and NIR linker. --- src/compiler/glsl/linker.cpp | 36 src/compiler/linker_util.cpp | 37 + src/compiler/linker_util.h | 5 + 3 files changed, 42 insertions(+), 36 deletions(-) diff --g