summaryrefslogtreecommitdiffstats
path: root/src/mesa/program/ir_to_mesa.h
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2017-03-03 16:59:48 +1100
committerTimothy Arceri <[email protected]>2017-03-08 09:45:48 +1100
commit20234cfe3a204eda5abb4ed757ae775e82619ba7 (patch)
treed44ca3bb83314affb41c44820050e31dfb6436c2 /src/mesa/program/ir_to_mesa.h
parente25c92a72d7f2edb4e460ca29873b27fdf203c96 (diff)
st/mesa: don't propagate uniforms when restoring from cache
We will have already loaded the uniforms when the parameter list was restored from cache. Reviewed-by: Marek Olšák <[email protected]>
Diffstat (limited to 'src/mesa/program/ir_to_mesa.h')
-rw-r--r--src/mesa/program/ir_to_mesa.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/mesa/program/ir_to_mesa.h b/src/mesa/program/ir_to_mesa.h
index be45ba0ebca..c46d090b774 100644
--- a/src/mesa/program/ir_to_mesa.h
+++ b/src/mesa/program/ir_to_mesa.h
@@ -45,7 +45,8 @@ _mesa_generate_parameters_list_for_uniforms(struct gl_shader_program
void
_mesa_associate_uniform_storage(struct gl_context *ctx,
struct gl_shader_program *shader_program,
- struct gl_program_parameter_list *params);
+ struct gl_program_parameter_list *params,
+ bool propagate_to_storage);
#ifdef __cplusplus
}