i965: Declare intel_miptree_alloc_mcs() as static
[mesa.git] / src / mesa / drivers / dri / i965 / intel_mipmap_tree.c
index eb226d516177af679dcf1a377d4bf87fd1079232..f766b96b8c4c7dae10a00e948f0dbabe377da362 100644 (file)
 
 #define FILE_DEBUG_FLAG DEBUG_MIPTREE
 
+static bool
+intel_miptree_alloc_mcs(struct brw_context *brw,
+                        struct intel_mipmap_tree *mt,
+                        GLuint num_samples);
+
 /**
  * Determine which MSAA layout should be used by the MSAA surface being
  * created, based on the chip generation and the surface type.
@@ -1300,7 +1305,7 @@ intel_miptree_copy_teximage(struct brw_context *brw,
    intel_obj->needs_validate = true;
 }
 
-bool
+static bool
 intel_miptree_alloc_mcs(struct brw_context *brw,
                         struct intel_mipmap_tree *mt,
                         GLuint num_samples)