summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/standalone_scaffolding.cpp
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2016-10-03 17:04:26 +1100
committerTimothy Arceri <[email protected]>2016-11-17 12:53:12 +1100
commit686dad657f2179f8c5ab985546577b51c8e3f518 (patch)
tree9368278e528841ee2c8a3c4a1546449fe345296c /src/compiler/glsl/standalone_scaffolding.cpp
parentc3df65c123c6392b0b116900395a89fd3dbb9b85 (diff)
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.
Diffstat (limited to 'src/compiler/glsl/standalone_scaffolding.cpp')
-rw-r--r--src/compiler/glsl/standalone_scaffolding.cpp8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/compiler/glsl/standalone_scaffolding.cpp b/src/compiler/glsl/standalone_scaffolding.cpp
index d229368ed34..6d17e387785 100644
--- a/src/compiler/glsl/standalone_scaffolding.cpp
+++ b/src/compiler/glsl/standalone_scaffolding.cpp
@@ -62,6 +62,14 @@ _mesa_reference_shader(struct gl_context *ctx, struct gl_shader **ptr,
}
void
+_mesa_reference_program_(struct gl_context *ctx, struct gl_program **ptr,
+ struct gl_program *prog)
+{
+ (void) ctx;
+ *ptr = prog;
+}
+
+void
_mesa_shader_debug(struct gl_context *, GLenum, GLuint *,
const char *)
{