mesa: Move the common _mesa_glsl_compile_shader() code to glsl/.
authorEric Anholt <eric@anholt.net>
Wed, 12 Jun 2013 22:49:43 +0000 (15:49 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 21 Jun 2013 17:04:30 +0000 (10:04 -0700)
commit0343f20e2f8cc8a588effb028c4043ed2a4744c0
treec36344509a10a034896ac6ebb6430f42a430b541
parent10c14d16d28c5e868b042e575aaaa922604e5e7e
mesa: Move the common _mesa_glsl_compile_shader() code to glsl/.

This code had no relation to ir_to_mesa.cpp, since it was also used by
intel and state_tracker, and most of it was duplicated with the standalone
compiler (which has periodically drifted from the Mesa copy).

v2: Split from the ir_to_mesa to shaderapi.c changes.

Acked-by: Paul Berry <stereotype441@gmail.com> (v1)
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/glsl/glsl_parser_extras.cpp
src/glsl/main.cpp
src/glsl/program.h
src/mesa/main/shaderapi.c
src/mesa/program/ir_to_mesa.cpp
src/mesa/program/ir_to_mesa.h