mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-07 06:30:11 +01:00
mesa/sso: Implement _mesa_CreateShaderProgramv
This was originally included in another patch, but it was split out by Ian Romanick. Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
parent
3659eade53
commit
e9ff3b9918
1 changed files with 6 additions and 1 deletions
|
|
@ -1930,10 +1930,15 @@ _mesa_CreateShaderProgramEXT(GLenum type, const GLchar *string)
|
|||
|
||||
/**
|
||||
* ARB_separate_shader_objects: Compile & Link Program
|
||||
*
|
||||
* Basically the same as _mesa_CreateShaderProgramEXT but with support of
|
||||
* multiple strings and sets the SeparateShader flag to true.
|
||||
*/
|
||||
GLuint GLAPIENTRY
|
||||
_mesa_CreateShaderProgramv(GLenum type, GLsizei count,
|
||||
const GLchar* const *strings)
|
||||
{
|
||||
return 0;
|
||||
GET_CURRENT_CONTEXT(ctx);
|
||||
|
||||
return _mesa_create_shader_program(ctx, GL_TRUE, type, count, strings);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue