OSDN Git Service

st/mesa: inline get_mesa_program()
authorTimothy Arceri <t_arceri@yahoo.com.au>
Wed, 1 Feb 2017 00:25:05 +0000 (11:25 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Wed, 1 Feb 2017 21:31:28 +0000 (08:31 +1100)
commitb940b2fd163f39576ddee23cee7fa60aa94f98fd
tree02eb655acc19f162c57b90ca0efb29ee95f51d51
parenta7050ea1f94b8169839a9b83f10669036e2ed0f6
st/mesa: inline get_mesa_program()

In the past I've gotten this function confused with the one in
ir_to_mesa.cpp of the same name. Now that the affected flag setting
has move into a helper it makes sense just to inline this remaining
code.

Reviewed-by: Edward O'Callaghan <funfunctor@folklore1984.net>
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mesa/state_tracker/st_glsl_to_tgsi.cpp