freedreno/a6xx: Flush depth at the end of bypass rendering, too.

We apparently don't have anything else making sure that it's flushed in
between use as a render target and use as a texture source, so bypass-mode
depth texture sampling could get stale data.

Fixes consistent (as far as I could see) failures in FD_MESA_DEBUG=nogmem
on:

dEQP-GLES31.functional.texture.multisample.samples_*.use_texture_depth_2d
dEQP-GLES31.functional.stencil_texturing.render.depth24_stencil8_draw

Cc: mesa-stable
Part-of: <!8146>
88 jobs for !8146 with fd6-flush-sysmem in 16 minutes and 23 seconds (queued for 7 seconds)
detached
Status Job ID Name Coverage
  Sanity
passed #6250939
sanity

00:00:09

 
  Container
passed #6250944
aarch64
arm_build

00:00:19

passed #6250946
arm_test-base

00:00:12

passed #6250947
windows shell 1809 mesa
windows_build_vs2019

00:00:10

passed #6250940
x86_build-base

00:00:12

passed #6250942
x86_test-base

00:00:11

 
  Container 2
passed #6250962
android_build

00:01:32

passed #6250968
arm64_test

00:00:12

passed #6250969
armhf_test

00:00:11

passed #6250957
i386_build

00:00:16

passed #6250950
kernel+rootfs_amd64

00:00:10

passed #6250952
aarch64
kernel+rootfs_arm64

00:00:18

passed #6250954
aarch64
kernel+rootfs_armhf

00:00:19

passed #6250959
ppc64el_build

00:01:28

passed #6250961
s390x_build

00:00:14

passed #6250956
x86_build

00:00:14

passed #6250964
x86_test-gl

00:00:13

passed #6250966
x86_test-vk

00:00:12

 
  Meson X86 64
passed #6250980
meson-clang

00:02:22

passed #6250981
meson-clover

00:02:02

passed #6250974
meson-clover-testing

00:00:53

passed #6250976
meson-gallium

00:04:03

passed #6250978
meson-release

00:00:52

passed #6250971
meson-testing

00:02:25

passed #6250973
meson-testing-asan

00:02:30

passed #6250983
meson-vulkan

00:01:57

 
  Build Misc
passed #6250985
meson-android

00:02:29

passed #6250988
aarch64
meson-arm64

00:04:50

passed #6250990
aarch64
meson-arm64-build-test

00:01:21

passed #6250986
aarch64
meson-armhf

00:01:22

passed #6250996
meson-i386

00:02:10

passed #6251002
meson-mingw32-x86_64

00:01:43

passed #6251000
kvm
meson-ppc64el

00:02:12

passed #6250998
kvm
meson-s390x

00:03:54

passed #6250992
windows docker 1809 mesa
meson-windows-vs2019

00:05:41

passed #6250995
scons-win64

00:04:35

 
  Amd
passed #6251004
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-gles2:amd64

00:06:29

passed #6251008
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-gles31:amd64

00:08:41

passed #6251006
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-gles3:amd64

00:08:19

passed #6251010
mesa-ci-aarch64-lava-collabora
radeonsi-stoney-traces:amd64

00:13:15

passed #6251012
radv-fossils

00:07:53

 
  Arm
passed #6251023
mesa-ci-aarch64-lava-collabora
panfrost-g52-gles2:arm64

00:03:56

passed #6251013
mesa-ci-aarch64-lava-collabora
panfrost-t720-gles2:arm64

00:07:47

passed #6251015
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles2:arm64

00:03:46

passed #6251017
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles3:arm64 1/2

00:06:07

passed #6251019
mesa-ci-aarch64-lava-collabora
panfrost-t860-gles3:arm64 2/2

00:06:25

passed #6251021
mesa-ci-aarch64-lava-collabora
panfrost-t860-traces:arm64

00:06:25

 
  Freedreno
passed #6251047
google-freedreno-db410c
arm64_a306_gles2

00:07:38

passed #6251049
google-freedreno-db410c
arm64_a306_gles3

00:06:50

passed #6251051
google-freedreno-db410c
arm64_a306_gles3_options

00:04:39

passed #6251053
google-freedreno-db820c
arm64_a530_gles2 1/2

00:07:33

passed #6251056
google-freedreno-db820c
arm64_a530_gles2 2/2

00:07:06

passed #6251058
google-freedreno-db820c
arm64_a530_gles3

00:03:54

passed #6251061
google-freedreno-db820c
arm64_a530_gles31

00:06:29

passed #6251035
google-freedreno-cheza
arm64_a630_gl

00:00:54

passed #6251025
google-freedreno-cheza
arm64_a630_gles2

00:01:47

passed #6251030
google-freedreno-cheza
arm64_a630_gles3

00:05:22

passed #6251028
google-freedreno-cheza
arm64_a630_gles31

00:04:13

passed #6251038
google-freedreno-cheza
arm64_a630_gles_others

00:03:03

passed #6251033
google-freedreno-cheza
arm64_a630_traces

00:06:18

passed #6251040
google-freedreno-cheza
arm64_a630_vk 1/2

00:06:16

passed #6251043
google-freedreno-cheza
arm64_a630_vk 2/2

00:07:23

passed #6251045
google-freedreno-cheza
arm64_a630_vk_sysmem

00:02:30

 
  Raspberrypi
passed #6251064
igalia-rpi3
vc4-rpi3-gles2:armhf 1/4

00:04:20

passed #6251066
igalia-rpi3
vc4-rpi3-gles2:armhf 2/4

00:05:05

passed #6251068
igalia-rpi3
vc4-rpi3-gles2:armhf 3/4

00:04:32

passed #6251069
igalia-rpi3
vc4-rpi3-gles2:armhf 4/4

00:04:44

 
  Software Renderer
passed #6251080
lavapipe-vk

00:07:10

passed #6251074
llvmpipe-gles2

00:01:59

passed #6251070
llvmpipe-piglit-cl

00:03:33

passed #6251072
llvmpipe-piglit-glslparser

00:04:14

passed #6251071
llvmpipe-piglit-quick_gl

00:06:10

passed #6251073
llvmpipe-piglit-quick_shader

00:05:29

passed #6251081
llvmpipe-traces

00:02:50

passed #6251079
softpipe-gl

00:00:55

passed #6251075
softpipe-gles2

00:01:08

passed #6251076
softpipe-gles3

00:06:05

passed #6251077
softpipe-gles31 1/2

00:04:38

passed #6251078
softpipe-gles31 2/2

00:02:25

 
  Layered Backends
passed #6251082
windows docker 1809 mesa
test-d3d12-windows

00:04:22

passed #6251087
virgl-gl30-on-gl

00:00:24

passed #6251088
virgl-gl31-on-gl

00:01:00

passed #6251089
virgl-gl32-on-gl

00:01:04

passed #6251083
virgl-gles2-on-gl

00:02:08

passed #6251085
virgl-gles31-on-gl 1/2

00:03:22

passed #6251086
virgl-gles31-on-gl 2/2

00:04:46

passed #6251084
virgl-gles3-on-gl

00:04:13

passed #6251090
virgl-traces

00:00:36