diff options
author | Timothy Arceri <[email protected]> | 2016-03-27 14:51:02 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2016-03-29 09:59:03 +1100 |
commit | 86d87d10474d1c5c5683acb28d4491e877432a90 (patch) | |
tree | 5d4913ce3093820f6a3689a1315bfb720c3f966c /src/mesa/main/uniform_query.cpp | |
parent | b8b3af2932039c6105d61f6922157a250ed8b79a (diff) |
mesa: remove initialized field from uniform storage
The only place this was used was in a gallium debug function that
had to be manually enabled.
Reviewed-by: Edward O'Callaghan <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/mesa/main/uniform_query.cpp')
-rw-r--r-- | src/mesa/main/uniform_query.cpp | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/src/mesa/main/uniform_query.cpp b/src/mesa/main/uniform_query.cpp index 2ced201ebca..ab5c3cd9249 100644 --- a/src/mesa/main/uniform_query.cpp +++ b/src/mesa/main/uniform_query.cpp @@ -815,8 +815,6 @@ _mesa_uniform(struct gl_context *ctx, struct gl_shader_program *shProg, } } - uni->initialized = true; - _mesa_propagate_uniforms_to_driver_storage(uni, offset, count); /* If the uniform is a sampler, do the extra magic necessary to propagate @@ -1030,8 +1028,6 @@ _mesa_uniform_matrix(struct gl_context *ctx, struct gl_shader_program *shProg, } } - uni->initialized = true; - _mesa_propagate_uniforms_to_driver_storage(uni, offset, count); } |