glsl: add param to force shader recompile

This will be used to skip checking the cache and force a recompile.

Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
This commit is contained in:
Timothy Arceri
2016-11-22 16:56:21 +11:00
committed by Timothy Arceri
parent 4026b45bbc
commit 0bf21519b7
4 changed files with 5 additions and 4 deletions

View File

@@ -33,7 +33,7 @@ struct gl_shader_program;
extern void
_mesa_glsl_compile_shader(struct gl_context *ctx, struct gl_shader *shader,
bool dump_ast, bool dump_hir);
bool dump_ast, bool dump_hir, bool force_recompile);
#ifdef __cplusplus
} /* extern "C" */