mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 00:58:05 +02:00
i965/miptree: Avoid -Wswitch for the Gen12 aux modes
Avoid the compiler warnings for the new enums that will be introduced in a future commit. Reviewed-by: Kenneth Graunke <kenneth@whitecape.org> Reviewed-by: Jordan Justen <jordan.l.justen@intel.com>
This commit is contained in:
parent
8af1853331
commit
77f506382f
1 changed files with 3 additions and 0 deletions
|
|
@ -1626,6 +1626,9 @@ intel_miptree_alloc_aux(struct brw_context *brw,
|
|||
aux_surf_ok =
|
||||
isl_surf_get_ccs_surf(&brw->isl_dev, &mt->surf, &aux_surf, 0);
|
||||
break;
|
||||
|
||||
default:
|
||||
unreachable("Invalid aux usage");
|
||||
}
|
||||
|
||||
/* We should have a valid aux_surf. */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue