Commit d063cc99 authored by Jason Ekstrand's avatar Jason Ekstrand
Browse files

anv: Reject modifiers on depth/stencil formats

67903973

 added code which attempts to reject modifiers on
depth/stencil formats but it was placed after the early return for depth
and stencil aspects.  This commit moves it up so it actually works.

Of course, this doesn't actually matter because the only user of any of
the modifiers stuff is the WSI code and it will never do anything with
depth/stencil.
Reviewed-by: Lionel Landwerlin's avatarLionel Landwerlin <lionel.g.landwerlin@intel.com>
parent 461c40e0
Pipeline #108183 canceled with stages
in 50 seconds