mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-22 23:58:10 +02:00
glsl_to_tgsi: Remove st_new_shader_program
It was identical to the default implementation in _mesa_new_shader_program. Signed-off-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Brian Paul <brianp@vmware.com> Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Cc: Dave Airlie <airlied@redhat.com>
This commit is contained in:
parent
a2dc16ed81
commit
deee3b0f9e
3 changed files with 0 additions and 16 deletions
|
|
@ -243,6 +243,5 @@ st_init_program_functions(struct dd_function_table *functions)
|
|||
functions->ProgramStringNotify = st_program_string_notify;
|
||||
|
||||
functions->NewShader = st_new_shader;
|
||||
functions->NewShaderProgram = st_new_shader_program;
|
||||
functions->LinkShader = st_link_shader;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -5347,18 +5347,6 @@ st_new_shader(struct gl_context *ctx, GLuint name, GLuint type)
|
|||
return shader;
|
||||
}
|
||||
|
||||
struct gl_shader_program *
|
||||
st_new_shader_program(struct gl_context *ctx, GLuint name)
|
||||
{
|
||||
struct gl_shader_program *shProg;
|
||||
shProg = rzalloc(NULL, struct gl_shader_program);
|
||||
if (shProg) {
|
||||
shProg->Name = name;
|
||||
_mesa_init_shader_program(ctx, shProg);
|
||||
}
|
||||
return shProg;
|
||||
}
|
||||
|
||||
/**
|
||||
* Link a shader.
|
||||
* Called via ctx->Driver.LinkShader()
|
||||
|
|
|
|||
|
|
@ -63,9 +63,6 @@ void get_bitmap_visitor(struct st_fragment_program *fp,
|
|||
|
||||
struct gl_shader *st_new_shader(struct gl_context *ctx, GLuint name, GLuint type);
|
||||
|
||||
struct gl_shader_program *
|
||||
st_new_shader_program(struct gl_context *ctx, GLuint name);
|
||||
|
||||
GLboolean st_link_shader(struct gl_context *ctx, struct gl_shader_program *prog);
|
||||
|
||||
void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue