mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-05 13:20:10 +01:00
glsl: make _mesa_shader_stage_to_string() available to non-C++ code.
Reviewed-by: Brian Paul <brianp@vmware.com> v2: Split from patch "mesa: Store gl_shader_stage enum in gl_shader objects." Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
This commit is contained in:
parent
665b8d7b6d
commit
72a995d307
1 changed files with 7 additions and 8 deletions
|
|
@ -423,14 +423,6 @@ extern bool _mesa_glsl_process_extension(const char *name, YYLTYPE *name_locp,
|
|||
YYLTYPE *behavior_locp,
|
||||
_mesa_glsl_parse_state *state);
|
||||
|
||||
/**
|
||||
* Get the textual name of the specified shader stage (which is a
|
||||
* gl_shader_stage).
|
||||
*/
|
||||
extern const char *
|
||||
_mesa_shader_stage_to_string(unsigned stage);
|
||||
|
||||
|
||||
#endif /* __cplusplus */
|
||||
|
||||
|
||||
|
|
@ -441,6 +433,13 @@ _mesa_shader_stage_to_string(unsigned stage);
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
/**
|
||||
* Get the textual name of the specified shader stage (which is a
|
||||
* gl_shader_stage).
|
||||
*/
|
||||
extern const char *
|
||||
_mesa_shader_stage_to_string(unsigned stage);
|
||||
|
||||
extern const char *
|
||||
_mesa_progshader_enum_to_string(GLenum type);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue