From aa95f0bc5b05fdab4e258d02c1a69abd8317920e Mon Sep 17 00:00:00 2001 From: Alejandro PiƱeiro Date: Wed, 28 Mar 2018 14:59:26 +0200 Subject: compiler/link: add linker_util.h, move linker_error/warning to it Linker utilities common to the GLSL IR and NIR linker (the latter to be used for ARB_gl_spirv). We need to move it to a new header as the NIR linker doesn't need to know about ir_variable, and others, included at linker.h. v2: move from src/compiler to src/compiler/glsl (Timothy Arceri) Reviewed-by: Timothy Arceri --- src/compiler/glsl/meson.build | 1 + 1 file changed, 1 insertion(+) (limited to 'src/compiler/glsl/meson.build') diff --git a/src/compiler/glsl/meson.build b/src/compiler/glsl/meson.build index 055a84714c1..686a5a4ac0b 100644 --- a/src/compiler/glsl/meson.build +++ b/src/compiler/glsl/meson.build @@ -112,6 +112,7 @@ files_libglsl = files( 'ir_visitor.h', 'linker.cpp', 'linker.h', + 'linker_util.h', 'link_atomics.cpp', 'link_functions.cpp', 'link_interface_blocks.cpp', -- cgit v1.2.3