aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/main/shaderapi.c
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2016-11-22 16:56:21 +1100
committerTimothy Arceri <[email protected]>2017-02-09 12:22:56 +1100
commit0bf21519b7daa356724d2f3fcb7f954a7700ccde (patch)
tree900161cc56d26d561490600f9e79799353c60183 /src/mesa/main/shaderapi.c
parent4026b45bbc4c2c067feeee181c54e2beaa1cc5e0 (diff)
glsl: add param to force shader recompile
This will be used to skip checking the cache and force a recompile. Reviewed-by: Anuj Phogat <[email protected]>
Diffstat (limited to 'src/mesa/main/shaderapi.c')
-rw-r--r--src/mesa/main/shaderapi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mesa/main/shaderapi.c b/src/mesa/main/shaderapi.c
index 4406aaa9803..3de0a7eeabf 100644
--- a/src/mesa/main/shaderapi.c
+++ b/src/mesa/main/shaderapi.c
@@ -1036,7 +1036,7 @@ _mesa_compile_shader(struct gl_context *ctx, struct gl_shader *sh)
/* this call will set the shader->CompileStatus field to indicate if
* compilation was successful.
*/
- _mesa_glsl_compile_shader(ctx, sh, false, false);
+ _mesa_glsl_compile_shader(ctx, sh, false, false, false);
if (ctx->_Shader->Flags & GLSL_LOG) {
_mesa_write_shader_to_file(sh);