meson: move float64_glsl_file one meson.build up
authorEric Engestrom <eric@igalia.com>
Tue, 17 Jan 2023 17:56:22 +0000 (17:56 +0000)
committerMarge Bot <emma+marge@anholt.net>
Wed, 15 Feb 2023 02:53:54 +0000 (02:53 +0000)
anv uses it.

Signed-off-by: Eric Engestrom <eric@igalia.com>
Reviewed-by: Yonggang Luo <luoyonggang@gmail.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/19600>

src/compiler/glsl/meson.build
src/compiler/meson.build

index 340ae27..b49fb95 100644 (file)
@@ -70,8 +70,6 @@ float64_glsl_h = custom_target(
   command : [prog_python, '@INPUT@', '@OUTPUT@', '-n', 'float64_source'],
 )
 
-float64_glsl_file = [files('float64.glsl')]
-
 cross_platform_settings_piece_all_h = custom_target(
   'cross_platform_settings_piece_all.h',
   input : [files_xxd, 'CrossPlatformSettings_piece_all.glsl'],
index ce6c6c0..b261987 100644 (file)
@@ -22,6 +22,8 @@ inc_compiler = include_directories('.')
 inc_glsl = include_directories('glsl')
 inc_spirv = include_directories('spirv')
 
+float64_glsl_file = files('glsl/float64.glsl')
+
 files_libcompiler = files(
   'builtin_type_macros.h',
   'glsl_types.cpp',