st/mesa: move set_prog_affected_state_flags() to st_program.c
authorTimothy Arceri <tarceri@itsqueeze.com>
Tue, 21 Feb 2017 23:59:13 +0000 (10:59 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Wed, 22 Feb 2017 22:20:22 +0000 (09:20 +1100)
commit0d5130bdd02f1bed405d13e95779d609a28289a2
treecf318fb206542103b3d4f5c64c9dd3e25259049c
parentd258055c8bcb1bd8438b4c28134813a4f0620f98
st/mesa: move set_prog_affected_state_flags() to st_program.c

We want to use this in the new tgsi shader cache so we move it here
and make it available externally.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/mesa/state_tracker/st_glsl_to_tgsi.cpp
src/mesa/state_tracker/st_program.c
src/mesa/state_tracker/st_program.h