mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-25 01:48:18 +02:00
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:
parent
36ceda4ece
commit
1ef4bf7191
2 changed files with 6 additions and 6 deletions
|
|
@ -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
|
||||
* \{
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue