glsl: Split out shader program serialization

This will allow us to use the program serialization to implement
ARB_get_program_binary.

Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Timothy Arceri <tarceri@itsqueeze.com>
This commit is contained in:
Jordan Justen
2017-10-27 01:04:53 -07:00
committed by Timothy Arceri
parent 219628c118
commit ebd9e789c4
6 changed files with 1297 additions and 1181 deletions

View File

@@ -181,6 +181,8 @@ files_libglsl = files(
's_expression.h',
'string_to_uint_map.cpp',
'string_to_uint_map.h',
'serialize.cpp',
'serialize.h',
'shader_cache.cpp',
'shader_cache.h',
)