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 <lionel.g.landwerlin@intel.com>
37 jobs for !3794 with review/anv-move-ds-modifier-reject in 50 seconds (queued for 2 seconds)
detached
Status Name Job ID Coverage
  Container
passed arm_build #1623297
aarch64

00:00:26

passed arm_test #1623298
aarch64

00:00:25

passed x86_build #1623294

00:00:27

passed x86_build_old #1623296

00:00:28

passed x86_test-gl #1623295

00:00:28

 
  Build
canceled meson-arm64 #1623302
aarch64

00:00:18

canceled meson-armhf #1623301
aarch64

00:00:18

canceled meson-clang #1623303

00:00:20

canceled meson-clover #1623306

00:00:20

canceled meson-clover-old-llvm #1623307

00:00:20

canceled meson-i386 #1623309

00:00:19

canceled meson-main #1623300

00:00:20

canceled meson-mingw32-x86_64 #1623312

00:00:19

canceled meson-ppc64el #1623311
gstreamer

00:00:19

canceled meson-s390x #1623310
gstreamer

00:00:19

canceled meson-testing #1623299

00:00:21

canceled meson-vulkan #1623308

00:00:20

canceled scons #1623313

00:00:18

canceled scons-old-llvm #1623314

00:00:19

canceled scons-swr #1623304

00:00:20

canceled scons-win64 #1623305

00:00:20

 
  Test
canceled arm64_a306_gles2 #1623330
db410c

canceled lima-mali450-test:arm64 #1623318
lava-meson-gxl-s905x-libretech-cc

canceled panfrost-t720-test:arm64 #1623315
lava-sun50i-h6-pine-h64

canceled panfrost-t760-test:armhf #1623316
lava-rk3288-veyron-jaq

canceled panfrost-t860-test:arm64 #1623317
lava-rk3399-gru-kevin

canceled piglit-glslparser #1623320

canceled piglit-quick_gl #1623319

canceled piglit-quick_shader #1623321

canceled test-llvmpipe-gles2 #1623322

canceled test-softpipe-gles2 #1623323

canceled test-softpipe-gles31 1/4 #1623326

canceled test-softpipe-gles3 1/2 #1623324

canceled test-softpipe-gles31 2/4 #1623327

canceled test-softpipe-gles31 3/4 #1623328

canceled test-softpipe-gles31 4/4 #1623329

canceled test-softpipe-gles3 2/2 #1623325