mesa: Fix detection of invalidating both depth and stencil.

Fixes an extra 1024x1024x4 MSAA Z/S store on WebGL fishtank on cheza.

Reported-by: Dave Airlie <airlied@redhat.com>
Fixes: db2ae511 ("mesa: Skip partial InvalidateFramebuffer of packed depth/stencil.")
Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
Reviewed-by: Rob Clark <robdclark@chromium.org>
Tested-by: Marge Bot <mesa/mesa!3370>
Part-of: <mesa/mesa!3370>
41 jobs for !3370 with fbo-zs-invalidate-fix in 17 minutes and 57 seconds (queued for 7 seconds)
detached
Status Job ID Name Coverage
  Container
passed #1344988
aarch64
arm_build

00:00:20

passed #1344989
aarch64
arm_test

00:00:20

passed #1344983
lava_arm64

00:00:19

passed #1344981
lava_armhf

00:00:19

passed #1344984
x86_build

00:00:17

passed #1344987
x86_build_old

00:00:21

passed #1344986
x86_test-gl

00:00:17

 
  Build
passed #1344991
lava-build:arm64

00:08:57

passed #1344990
lava-build:armhf

00:08:47

passed #1344995
aarch64
meson-arm64

00:06:11

passed #1344994
aarch64
meson-armhf

00:02:29

passed #1344996
meson-clang

00:03:58

passed #1344999
meson-clover

00:07:00

passed #1345000
meson-clover-old-llvm

00:04:50

passed #1345002
meson-i386

00:04:21

passed #1344993
meson-main

00:02:20

passed #1345003
meson-mingw32-x86_64

00:04:40

passed #1344992
meson-testing

00:03:44

passed #1345001
meson-vulkan

00:03:35

passed #1345004
scons

00:03:19

passed #1345005
scons-old-llvm

00:02:30

passed #1344997
scons-swr

00:03:40

passed #1344998
scons-win64

00:06:18

 
  Test
passed #1345023
db410c
arm64_a306_gles2

00:06:21

passed #1345020
mesa-cheza
arm64_a630_gles2

00:01:38

passed #1345022
mesa-cheza
arm64_a630_gles3

00:06:28

passed #1345021
mesa-cheza
arm64_a630_gles31

00:04:20

passed #1345006
lava-sun50i-h6-pine-h64
panfrost-t720-test:arm64

00:08:35

passed #1345007
lava-rk3288-veyron-jaq
panfrost-t760-test:armhf

00:05:24

passed #1345008
lava-rk3399-gru-kevin
panfrost-t860-test:arm64

00:05:38

passed #1345010
piglit-glslparser

00:04:49

passed #1345009
piglit-quick_gl

00:06:17

passed #1345011
piglit-quick_shader

00:06:04

passed #1345012
test-llvmpipe-gles2

00:03:02

passed #1345013
test-softpipe-gles2

00:01:16

passed #1345016
test-softpipe-gles31 1/4

00:02:58

passed #1345014
test-softpipe-gles3 1/2

00:07:22

passed #1345017
test-softpipe-gles31 2/4

00:04:13

passed #1345018
test-softpipe-gles31 3/4

00:05:09

passed #1345019
test-softpipe-gles31 4/4

00:02:31

passed #1345015
test-softpipe-gles3 2/2

00:03:59