From ee91c1e367b9e3bcbb156ed80ab94694f0d4b4ca Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Thu, 1 Apr 2010 22:15:16 -0600 Subject: glsl: add more vertex/fragment output info helpers --- src/mesa/shader/slang/slang_builtin.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'src/mesa/shader/slang/slang_builtin.h') diff --git a/src/mesa/shader/slang/slang_builtin.h b/src/mesa/shader/slang/slang_builtin.h index f814d11ac7..c3021ca33c 100644 --- a/src/mesa/shader/slang/slang_builtin.h +++ b/src/mesa/shader/slang/slang_builtin.h @@ -51,4 +51,14 @@ extern GLenum _slang_vert_attrib_type(GLuint attrib); +const char * +_slang_vertex_output_name(gl_vert_result index); + +const char * +_slang_fragment_output_name(gl_frag_result index); + +GLenum +_slang_vertex_output_type(gl_vert_result index); + + #endif /* SLANG_BUILTIN_H */ -- cgit v1.2.3