diff options
author | Carl Worth <[email protected]> | 2016-04-14 10:48:19 +1000 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-01-31 09:51:30 +1100 |
commit | b8cb1a05cdf8a5dc7377d8a0c8d0ef5a655126cc (patch) | |
tree | a5ed76d9e8ded0f6ba3f1733019756641c2d2602 /src/mesa/main | |
parent | 0f60c6616e93cba72bff4fbfedb72a753ef78e05 (diff) |
glsl: add new uniform fields to be used to restore state from cache
Signed-off-by: Timothy Arceri <[email protected]>
Reviewed-by: Eric Anholt <[email protected]>
Diffstat (limited to 'src/mesa/main')
-rw-r--r-- | src/mesa/main/mtypes.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/mesa/main/mtypes.h b/src/mesa/main/mtypes.h index b0a97b30881..4ac75312d6c 100644 --- a/src/mesa/main/mtypes.h +++ b/src/mesa/main/mtypes.h @@ -2662,6 +2662,10 @@ struct gl_shader_program_data struct gl_active_atomic_buffer *AtomicBuffers; unsigned NumAtomicBuffers; + /* Shader cache variables used during restore */ + unsigned NumUniformDataSlots; + union gl_constant_value *UniformDataSlots; + /** List of all active resources after linking. */ struct gl_program_resource *ProgramResourceList; unsigned NumProgramResourceList; |