mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
iris: Guard GEN9-only function in Iris state to avoid warning
Acked-by: Eric Engestrom <eric.engestrom@intel.com> Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
parent
412ed1338f
commit
63f0259aeb
1 changed files with 2 additions and 0 deletions
|
|
@ -4003,6 +4003,7 @@ surf_state_offset_for_aux(struct iris_resource *res,
|
|||
util_bitcount(aux_modes & ((1 << aux_usage) - 1));
|
||||
}
|
||||
|
||||
#if GEN_GEN == 9
|
||||
static void
|
||||
surf_state_update_clear_value(struct iris_batch *batch,
|
||||
struct iris_resource *res,
|
||||
|
|
@ -4043,6 +4044,7 @@ surf_state_update_clear_value(struct iris_batch *batch,
|
|||
PIPE_CONTROL_FLUSH_ENABLE |
|
||||
PIPE_CONTROL_STATE_CACHE_INVALIDATE);
|
||||
}
|
||||
#endif
|
||||
|
||||
static void
|
||||
update_clear_value(struct iris_context *ice,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue