mesa: Move declaration of gl_shader_stage earlier in mtypes.h.
authorPaul Berry <stereotype441@gmail.com>
Tue, 7 Jan 2014 18:58:56 +0000 (10:58 -0800)
committerPaul Berry <stereotype441@gmail.com>
Wed, 8 Jan 2014 15:30:54 +0000 (07:30 -0800)
commit1722f5e73ee73e7c2ab58a4be39c95c2a55b154f
tree153f1a74583f98d31097bc8b8edd9f0f879470f5
parent72a995d30721246476c94f95c7df10838fe7f69a
mesa: Move declaration of gl_shader_stage earlier in mtypes.h.

Also move the related #define MESA_SHADER_STAGES.  This will allow
gl_shader_stage to be used in struct gl_shader.

Reviewed-by: Brian Paul <brianp@vmware.com>
v2: Split from patch "mesa: Store gl_shader_stage enum in gl_shader objects."

Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/mtypes.h