glsl: make reserved_varying_slot() static
authorTimothy Arceri <timothy.arceri@collabora.com>
Tue, 17 May 2016 01:18:50 +0000 (11:18 +1000)
committerTimothy Arceri <timothy.arceri@collabora.com>
Tue, 17 May 2016 05:06:39 +0000 (15:06 +1000)
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/compiler/glsl/link_varyings.cpp

index 506b221f5144b2344a78807bf63359a360de24fa..b4a4fb348dca3b121e1f8c716f785dd2d67fd022 100644 (file)
@@ -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);