summaryrefslogtreecommitdiffstats
path: root/src/glsl/linker.h
diff options
context:
space:
mode:
authorPaul Berry <[email protected]>2012-12-17 14:20:35 -0800
committerPaul Berry <[email protected]>2013-01-08 09:09:09 -0800
commit4b11b57ab47b98b335a7212080dbccef04542805 (patch)
tree626e87c5d4f65ce3205becd943c3a54a266d82ad /src/glsl/linker.h
parent8706395f25228d0e622cc56346c7181ba102edf4 (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.h9
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 */