i965: Declare intel_miptree_alloc_mcs() as static
It's not used outside of intel_mipmap_tree.c, nor should it ever be. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Tapani Pälli <tapani.palli@intel.com> Reviewed-by: Topi Pohjolainen <topi.pohjolainen@intel.com>
This commit is contained in:
@@ -49,6 +49,11 @@
|
||||
|
||||
#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)
|
||||
|
||||
@@ -637,11 +637,6 @@ intel_miptree_copy_teximage(struct brw_context *brw,
|
||||
struct intel_texture_image *intelImage,
|
||||
struct intel_mipmap_tree *dst_mt, bool invalidate);
|
||||
|
||||
bool
|
||||
intel_miptree_alloc_mcs(struct brw_context *brw,
|
||||
struct intel_mipmap_tree *mt,
|
||||
GLuint num_samples);
|
||||
|
||||
/**
|
||||
* \name Miptree HiZ functions
|
||||
* \{
|
||||
|
||||
Reference in New Issue
Block a user