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:

committed by
Timothy Arceri

parent
4026b45bbc
commit
0bf21519b7
@@ -1911,7 +1911,7 @@ do_late_parsing_checks(struct _mesa_glsl_parse_state *state)
|
||||
|
||||
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)
|
||||
{
|
||||
struct _mesa_glsl_parse_state *state =
|
||||
new(shader) _mesa_glsl_parse_state(ctx, shader->Stage, shader);
|
||||
|
Reference in New Issue
Block a user