diff options
author | Paul Berry <[email protected]> | 2012-12-17 14:20:35 -0800 |
---|---|---|
committer | Paul Berry <[email protected]> | 2013-01-08 09:09:09 -0800 |
commit | 4b11b57ab47b98b335a7212080dbccef04542805 (patch) | |
tree | 626e87c5d4f65ce3205becd943c3a54a266d82ad /src/glsl/linker.h | |
parent | 8706395f25228d0e622cc56346c7181ba102edf4 (diff) |
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 <[email protected]>
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 7d2e98a1536..67c7f348859 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 */ |