summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimothy Arceri <timothy.arceri@collabora.com>2016-05-17 11:18:50 +1000
committerTimothy Arceri <timothy.arceri@collabora.com>2016-05-17 15:06:39 +1000
commit4fb4fd0b6b1fe8387dc4c9154359f890d379e9cd (patch)
tree3da46160addcc73f17a0145251cd33530e30c183
parent1d752823afd53f3c8de8175aa9f40f130d15335f (diff)
downloadexternal_mesa3d-4fb4fd0b6b1fe8387dc4c9154359f890d379e9cd.zip
external_mesa3d-4fb4fd0b6b1fe8387dc4c9154359f890d379e9cd.tar.gz
external_mesa3d-4fb4fd0b6b1fe8387dc4c9154359f890d379e9cd.tar.bz2
glsl: make reserved_varying_slot() static
Reviewed-by: Dave Airlie <airlied@redhat.com>
-rw-r--r--src/compiler/glsl/link_varyings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compiler/glsl/link_varyings.cpp b/src/compiler/glsl/link_varyings.cpp
index 506b221..b4a4fb3 100644
--- a/src/compiler/glsl/link_varyings.cpp
+++ b/src/compiler/glsl/link_varyings.cpp
@@ -1898,7 +1898,7 @@ canonicalize_shader_io(exec_list *ir, enum ir_variable_mode io_mode)
* 64 bit map. Per-vertex and per-patch both have separate location domains
* with a max of MAX_VARYING.
*/
-uint64_t
+static uint64_t
reserved_varying_slot(struct gl_shader *stage, ir_variable_mode io_mode)
{
assert(io_mode == ir_var_shader_in || io_mode == ir_var_shader_out);