mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-30 23:28:06 +02:00
i965/mt: Declare some functions as static
intel_tiling_supports_non_msrt_mcs() and intel_miptree_is_fast_clear_capable() are not used outside of intel_mipmap_tree.c. Reviewed-by: Anuj Phogat <anuj.phogat@gmail.com>
This commit is contained in:
parent
73e0dfbaca
commit
125a04b474
2 changed files with 3 additions and 7 deletions
|
|
@ -160,7 +160,7 @@ intel_get_non_msrt_mcs_alignment(struct intel_mipmap_tree *mt,
|
|||
}
|
||||
}
|
||||
|
||||
bool
|
||||
static bool
|
||||
intel_tiling_supports_non_msrt_mcs(struct brw_context *brw, unsigned tiling)
|
||||
{
|
||||
/* From the Ivy Bridge PRM, Vol2 Part1 11.7 "MCS Buffer for Render
|
||||
|
|
@ -193,7 +193,7 @@ intel_tiling_supports_non_msrt_mcs(struct brw_context *brw, unsigned tiling)
|
|||
* - MCS buffer for non-MSRT is supported only for RT formats 32bpp,
|
||||
* 64bpp, and 128bpp.
|
||||
*/
|
||||
bool
|
||||
static bool
|
||||
intel_miptree_is_fast_clear_capable(struct brw_context *brw,
|
||||
struct intel_mipmap_tree *mt)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -658,11 +658,7 @@ struct intel_mipmap_tree
|
|||
void
|
||||
intel_get_non_msrt_mcs_alignment(struct intel_mipmap_tree *mt,
|
||||
unsigned *width_px, unsigned *height);
|
||||
bool
|
||||
intel_tiling_supports_non_msrt_mcs(struct brw_context *brw, unsigned tiling);
|
||||
bool
|
||||
intel_miptree_is_fast_clear_capable(struct brw_context *brw,
|
||||
struct intel_mipmap_tree *mt);
|
||||
|
||||
bool
|
||||
intel_miptree_alloc_non_msrt_mcs(struct brw_context *brw,
|
||||
struct intel_mipmap_tree *mt);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue