mesa: move shader_info to the start of gl_program
authorTimothy Arceri <timothy.arceri@collabora.com>
Wed, 2 Nov 2016 22:18:18 +0000 (09:18 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Wed, 2 Nov 2016 23:39:13 +0000 (10:39 +1100)
commitf304aca54204fab2dd674a07f4bf13a6a1581c20
tree753a0f999919168a6b3597be21513a90daa38ffe
parentcc6aa1d161280f10ded7834d1ec2413bc97589fe
mesa: move shader_info to the start of gl_program

This will allow use to use ralloc_parent() on the info field and fix
a regression in nir_sweep() caused by e1af20f18a8.

This is intended to be a temporary requirement that will be removed
when we finish separating shader_info from nir_shader.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/main/mtypes.h