From 9d2b391165e64f3c64021e5a563037e0ccc09d84 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Wed, 19 Oct 2016 09:15:57 +1100 Subject: glsl: add temporary copy_shader_info() function This function is added here to ease refactoring towards using the new shared shader_info. Once refactoring is complete and values are set directly it will be removed. We call it from _mesa_copy_linked_program_data() rather than glsl_to_nir() so that the values will be set for all drivers. In order to do this some calls need to be moved around so that we make sure to call do_set_program_inouts() before _mesa_copy_linked_program_data() Reviewed-by: Jason Ekstrand --- src/compiler/Makefile.sources | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/compiler/Makefile.sources') diff --git a/src/compiler/Makefile.sources b/src/compiler/Makefile.sources index a30443da544..df1db0c3ec2 100644 --- a/src/compiler/Makefile.sources +++ b/src/compiler/Makefile.sources @@ -5,7 +5,9 @@ LIBCOMPILER_FILES = \ nir_types.cpp \ nir_types.h \ shader_enums.c \ - shader_enums.h + shader_enums.h \ + shader_info.c \ + shader_info.h # libglsl -- cgit v1.2.3