* DEALINGS IN THE SOFTWARE.
*/
+#ifndef ST_SHADER_CACHE_H
+#define ST_SHADER_CACHE_H
+
#include "st_context.h"
-#include "compiler/blob.h"
#include "main/mtypes.h"
#include "pipe/p_state.h"
+#include "util/blob.h"
#include "util/disk_cache.h"
#include "util/mesa-sha1.h"
void
st_serialise_tgsi_program(struct gl_context *ctx, struct gl_program *prog);
+void
+st_serialise_tgsi_program_binary(struct gl_context *ctx,
+ struct gl_shader_program *shProg,
+ struct gl_program *prog);
+
void
st_deserialise_tgsi_program(struct gl_context *ctx,
struct gl_shader_program *shProg,
struct gl_program *prog);
+void
+st_serialise_nir_program(struct gl_context *ctx, struct gl_program *prog);
+
+void
+st_serialise_nir_program_binary(struct gl_context *ctx,
+ struct gl_shader_program *shProg,
+ struct gl_program *prog);
+
+void
+st_deserialise_nir_program(struct gl_context *ctx,
+ struct gl_shader_program *shProg,
+ struct gl_program *prog);
+
bool
st_load_ir_from_disk_cache(struct gl_context *ctx,
struct gl_shader_program *prog,
#ifdef __cplusplus
}
#endif
+
+#endif