compiler/link: move add_program_resource to linker_util
So it could be used by the GLSL and NIR linker. v2: (Timothy Arceri) * Moved from compiler to compiler/glsl * Method renamed to link_util_add_program_resource Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:
@@ -36,6 +36,11 @@ linker_error(struct gl_shader_program *prog, const char *fmt, ...);
|
||||
void
|
||||
linker_warning(struct gl_shader_program *prog, const char *fmt, ...);
|
||||
|
||||
bool
|
||||
link_util_add_program_resource(struct gl_shader_program *prog,
|
||||
struct set *resource_set,
|
||||
GLenum type, const void *data, uint8_t stages);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user