mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-04 22:49:13 +02:00
glsl: expose build_program_resource_list function
This is required so that we can move resource list creation to happen later. Signed-off-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Martin Peres <martin.peres@linux.intel.com>
This commit is contained in:
parent
ccaf37f449
commit
73afa31f07
2 changed files with 5 additions and 1 deletions
|
|
@ -2689,7 +2689,7 @@ add_interface_variables(struct gl_shader_program *shProg,
|
|||
* Builds up a list of program resources that point to existing
|
||||
* resource data.
|
||||
*/
|
||||
static void
|
||||
void
|
||||
build_program_resource_list(struct gl_context *ctx,
|
||||
struct gl_shader_program *shProg)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -39,6 +39,10 @@ _mesa_glsl_compile_shader(struct gl_context *ctx, struct gl_shader *shader,
|
|||
extern void
|
||||
link_shaders(struct gl_context *ctx, struct gl_shader_program *prog);
|
||||
|
||||
extern void
|
||||
build_program_resource_list(struct gl_context *ctx,
|
||||
struct gl_shader_program *shProg);
|
||||
|
||||
extern void
|
||||
linker_error(struct gl_shader_program *prog, const char *fmt, ...)
|
||||
PRINTFLIKE(2, 3);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue