diff options
author | Timothy Arceri <[email protected]> | 2016-10-19 09:15:57 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2016-10-26 14:29:36 +1100 |
commit | 9d2b391165e64f3c64021e5a563037e0ccc09d84 (patch) | |
tree | 9f1849a81c187cd412762f8ea17567ecb56f3ef5 /src/compiler/Makefile.sources | |
parent | debed12fdde9766fd9cf99d679207a36a4599a82 (diff) |
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 <[email protected]>
Diffstat (limited to 'src/compiler/Makefile.sources')
-rw-r--r-- | src/compiler/Makefile.sources | 4 |
1 files changed, 3 insertions, 1 deletions
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 |