mesa: Use functions to convert gl_shader_stage to PROGRAM enum or pipe target.
authorPaul Berry <stereotype441@gmail.com>
Wed, 8 Jan 2014 19:09:58 +0000 (11:09 -0800)
committerPaul Berry <stereotype441@gmail.com>
Thu, 9 Jan 2014 17:31:27 +0000 (09:31 -0800)
commit8668eaaa007a1a0b23a4bc39469d6dba293b7da9
tree33b9067a26c4e2a5d7b9a8f83fba9fa74939b9f5
parente654216ac7ec2d254685d0ff5f437917747c9bd3
mesa: Use functions to convert gl_shader_stage to PROGRAM enum or pipe target.

Suggested-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
v2: Improve assert message.
src/mesa/program/ir_to_mesa.cpp
src/mesa/program/program.h
src/mesa/state_tracker/st_glsl_to_tgsi.cpp