diff options
author | Paul Berry <stereotype441@gmail.com> | 2012-12-17 14:20:35 -0800 |
---|---|---|
committer | Paul Berry <stereotype441@gmail.com> | 2013-01-08 09:09:09 -0800 |
commit | 4b11b57ab47b98b335a7212080dbccef04542805 (patch) | |
tree | 626e87c5d4f65ce3205becd943c3a54a266d82ad /src/glsl/linker.h | |
parent | 8706395f25228d0e622cc56346c7181ba102edf4 (diff) | |
download | external_mesa3d-4b11b57ab47b98b335a7212080dbccef04542805.zip external_mesa3d-4b11b57ab47b98b335a7212080dbccef04542805.tar.gz external_mesa3d-4b11b57ab47b98b335a7212080dbccef04542805.tar.bz2 |
glsl: Separate varying linking code to its own file.
linker.cpp is getting pretty big, and we're about to add even more
varying packing code, so split out the linker code that concerns
varyings to its own file.
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
Diffstat (limited to 'src/glsl/linker.h')
-rw-r--r-- | src/glsl/linker.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/glsl/linker.h b/src/glsl/linker.h index 7d2e98a..67c7f34 100644 --- a/src/glsl/linker.h +++ b/src/glsl/linker.h @@ -91,4 +91,13 @@ private: void recursion(const glsl_type *t, char **name, size_t name_length); }; +void +linker_error(gl_shader_program *prog, const char *fmt, ...); + +void +linker_warning(gl_shader_program *prog, const char *fmt, ...); + +unsigned +count_attribute_slots(const glsl_type *t); + #endif /* GLSL_LINKER_H */ |