summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/mesa/main/dd.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/mesa/main/dd.h b/src/mesa/main/dd.h
index da03b2e8b94..4e4d2a6f37d 100644
--- a/src/mesa/main/dd.h
+++ b/src/mesa/main/dd.h
@@ -1126,6 +1126,23 @@ struct dd_function_table {
GLuint64 size,
int fd);
/*@}*/
+
+ /**
+ * \name GL_ARB_get_program_binary
+ */
+ /*@{*/
+ /**
+ * Calls to retrieve/store a binary serialized copy of the current program.
+ */
+ void (*GetProgramBinaryDriverSHA1)(struct gl_context *ctx, uint8_t *sha1);
+
+ void (*ProgramBinarySerializeDriverBlob)(struct gl_context *ctx,
+ struct gl_program *prog);
+
+ void (*ProgramBinaryDeserializeDriverBlob)(struct gl_context *ctx,
+ struct gl_shader_program *shProg,
+ struct gl_program *prog);
+ /*@}*/
};