From 686dad657f2179f8c5ab985546577b51c8e3f518 Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Mon, 3 Oct 2016 17:04:26 +1100 Subject: glsl: stub out _mesa_reference_program() in standalone compiler The follow patch will call this directly from the linker, the shader cache will also start calling these from the compiler. --- src/compiler/glsl/standalone_scaffolding.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/compiler/glsl/standalone_scaffolding.h') diff --git a/src/compiler/glsl/standalone_scaffolding.h b/src/compiler/glsl/standalone_scaffolding.h index 2c0454837a5..0e77f720260 100644 --- a/src/compiler/glsl/standalone_scaffolding.h +++ b/src/compiler/glsl/standalone_scaffolding.h @@ -42,6 +42,10 @@ extern "C" void _mesa_reference_shader(struct gl_context *ctx, struct gl_shader **ptr, struct gl_shader *sh); +extern "C" void +_mesa_reference_program_(struct gl_context *ctx, struct gl_program **ptr, + struct gl_program *prog); + extern "C" struct gl_shader * _mesa_new_shader(GLuint name, gl_shader_stage stage); -- cgit v1.2.3