st/glsl_to_tgsi: store num_tgsi_tokens in st_*_program
authorTimothy Arceri <tarceri@itsqueeze.com>
Tue, 28 Nov 2017 10:43:12 +0000 (21:43 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Wed, 17 Jan 2018 12:43:28 +0000 (23:43 +1100)
commitc69b0dd6817b3321d0d9ccfd1c3d44b44277c736
treee2f2f4c19792821336ada3b550fea3709bb5914a
parent7b0e8264dd21ae05521d08d41fecd84139401fef
st/glsl_to_tgsi: store num_tgsi_tokens in st_*_program

We will need this for ARB_get_program_binary binary support.

Tested-by: Dieter Nützel <Dieter@nuetzel-hh.de>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mesa/state_tracker/st_program.c
src/mesa/state_tracker/st_program.h
src/mesa/state_tracker/st_shader_cache.c
src/mesa/state_tracker/st_shader_cache.h