aboutsummaryrefslogtreecommitdiffstats
path: root/src/mesa/state_tracker/st_atom_scissor.c
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2019-03-07 09:21:53 -0700
committerBrian Paul <[email protected]>2019-03-11 20:08:16 -0600
commitb29d827f09729259d772c4bbbf1b4d4606359736 (patch)
tree5ce4811ae89d464a62f1e8e0cf8a489147423822 /src/mesa/state_tracker/st_atom_scissor.c
parent775aabdd01739c413da7b38e5acbde1094209bcf (diff)
st/mesa: move utility functions, macros into new st_util.h file
To de-clutter st_context.h. Clean up remaining function prototypes in st_context.h. The st_vp_uses_current_values() helper is only used in st_context.c so move it there. The st_get_active_states() function is only used in st_context.c so remove its prototype in st_context.h Reviewed-by: Neha Bhende <[email protected]>
Diffstat (limited to 'src/mesa/state_tracker/st_atom_scissor.c')
-rw-r--r--src/mesa/state_tracker/st_atom_scissor.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/mesa/state_tracker/st_atom_scissor.c b/src/mesa/state_tracker/st_atom_scissor.c
index a87d02941ca..04135a3a340 100644
--- a/src/mesa/state_tracker/st_atom_scissor.c
+++ b/src/mesa/state_tracker/st_atom_scissor.c
@@ -36,6 +36,7 @@
#include "st_context.h"
#include "pipe/p_context.h"
#include "st_atom.h"
+#include "st_util.h"
/**