OSDN Git Service

mesa: create new gl_shader_program_data struct
authorTimothy Arceri <timothy.arceri@collabora.com>
Mon, 7 Nov 2016 03:43:48 +0000 (14:43 +1100)
committerTimothy Arceri <timothy.arceri@collabora.com>
Sat, 19 Nov 2016 04:45:46 +0000 (15:45 +1100)
commit65cd0a0d7f411eefac81408ebf7b704ccd1c9bf7
treef53070bc0cb2e26248eeab49dbf2191c3f841ba8
parent0c85d2fea406df033c27201ba5e7257874a67a9a
mesa: create new gl_shader_program_data struct

This will be used to share data between gl_program and gl_shader_program
allowing for greater code simplification as we can remove a number of
awkward uses of gl_shader_program.

Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
src/mesa/main/mtypes.h
src/mesa/main/shaderobj.c
src/mesa/main/shaderobj.h