mesa: Move shader compiler API code to shaderapi.c
authorEric Anholt <eric@anholt.net>
Wed, 19 Jun 2013 23:00:23 +0000 (16:00 -0700)
committerEric Anholt <eric@anholt.net>
Fri, 21 Jun 2013 17:04:29 +0000 (10:04 -0700)
commit10c14d16d28c5e868b042e575aaaa922604e5e7e
tree30b7b6e33265978ee547442d17b856e7634fb047
parent88398a817c7402c8fa56823eaac4c755e5c2fdaf
mesa: Move shader compiler API code to shaderapi.c

There was nothing ir_to_mesa-specific about this code, but it's not
exactly part of the compiler's core turning-source-into-IR job either.

v2: Split from the ir_to_mesa to glsl/ commit, avoid renaming the sh
    variable.

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