diff options
author | Brian Paul <[email protected]> | 2010-04-01 22:15:16 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2010-04-01 22:17:13 -0600 |
commit | ee91c1e367b9e3bcbb156ed80ab94694f0d4b4ca (patch) | |
tree | fde79584de6015c9dc251518516f1ff5fecddec7 /src/mesa/shader/slang/slang_builtin.h | |
parent | 2a090ae80a597f498f113fe58a772ddf3dca12e0 (diff) |
glsl: add more vertex/fragment output info helpers
Diffstat (limited to 'src/mesa/shader/slang/slang_builtin.h')
-rw-r--r-- | src/mesa/shader/slang/slang_builtin.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/mesa/shader/slang/slang_builtin.h b/src/mesa/shader/slang/slang_builtin.h index f814d11ac73..c3021ca33c7 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 */ |