glsl: move glsl_get_gl_type into glsl/linker_util.h

glsl_get_gl_type only accessed in src/compiler/glsl files, do not expose it
in libcompiler

Signed-off-by: Yonggang Luo <luoyonggang@gmail.com>
Reviewed-by: Caio Oliveira <caio.oliveira@intel.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/25879>
This commit is contained in:
Yonggang Luo
2023-10-25 15:17:42 +08:00
committed by Marge Bot
parent 1d4583759a
commit a9a2eabea8
6 changed files with 7 additions and 47 deletions

View File

@@ -43,7 +43,6 @@
#include "gl_nir_link_varyings.h"
#include "gl_nir_linker.h"
#include "linker_util.h"
#include "nir_gl_types.h"
#include "string_to_uint_map.h"
#define SAFE_MASK_FROM_INDEX(i) (((i) >= 32) ? ~0 : ((1 << (i)) - 1))