mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-07 15:48:36 +02:00
intel/isl: Mark functions used conditionally as UNUSED
The functions we're marking as UNUSED in isl_surface_state.c are used only when compiling for particular generations. Reviewed-by: Emil Velikov <emil.velikov@collabora.com> Reviewed-by: Eric Engestrom <eric.engestrom@imgtec.com>
This commit is contained in:
parent
c4ce12728e
commit
b962922fb7
1 changed files with 1 additions and 1 deletions
|
|
@ -130,7 +130,7 @@ get_surftype(enum isl_surf_dim dim, isl_surf_usage_flags_t usage)
|
|||
* hardware. Note that this does NOT give you the actual hardware enum values
|
||||
* but an index into the isl_to_gen_[hv]align arrays above.
|
||||
*/
|
||||
static struct isl_extent3d
|
||||
UNUSED static struct isl_extent3d
|
||||
get_image_alignment(const struct isl_surf *surf)
|
||||
{
|
||||
if (GEN_GEN >= 9) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue