summaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_program.h
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2017-02-22 10:59:13 +1100
committerTimothy Arceri <[email protected]>2017-02-23 09:20:22 +1100
commit0d5130bdd02f1bed405d13e95779d609a28289a2 (patch)
treecf318fb206542103b3d4f5c64c9dd3e25259049c /src/mesa/state_tracker/st_program.h
parentd258055c8bcb1bd8438b4c28134813a4f0620f98 (diff)
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 <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_program.h')
-rw-r--r--src/mesa/state_tracker/st_program.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_program.h b/src/mesa/state_tracker/st_program.h
index eb36ac32825..9f9777a7d55 100644
--- a/src/mesa/state_tracker/st_program.h
+++ b/src/mesa/state_tracker/st_program.h
@@ -423,6 +423,8 @@ st_get_generic_varying_index(struct st_context *st, GLuint attr)
return 0;
}
+extern void
+st_set_prog_affected_state_flags(struct gl_program *prog);
extern struct st_vp_variant *
st_get_vp_variant(struct st_context *st,