anv: Re-use flush_descriptor_sets in flush_compute_state

There's no reason to hand-roll all of the memory re-allocation fall-back
code for compute shaders.  It's  just duplicated complexity.  This also
makes it more clear in flush_compute_state where the
MEDIA_INTERFACE_DESCRIPTOR_LOAD command gets emitted relative to other
packets in the command stream.

Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
41 jobs for !3321 with review/anv-common-desc-flush in 33 minutes and 3 seconds (queued for 16 seconds)
detached
Status Job ID Name Coverage
  Container
passed #1317876
aarch64
arm_build

00:00:19

passed #1317879
aarch64
arm_test

00:00:19

passed #1317865
lava_arm64

00:00:18

passed #1317862
lava_armhf

00:00:20

passed #1317868
x86_build

00:00:18

passed #1317874
x86_build_old

00:00:20

passed #1317871
x86_test-gl

00:00:18

 
  Build
passed #1317886
lava-build:arm64

00:02:37

passed #1317883
lava-build:armhf

00:01:36

passed #1317897
aarch64
meson-arm64

00:02:00

passed #1317893
aarch64
meson-armhf

00:02:21

passed #1317900
meson-clang

00:04:12

passed #1317909
meson-clover

00:03:12

passed #1317911
meson-clover-old-llvm

00:05:44

passed #1317916
meson-i386

00:02:33

passed #1317891
meson-main

00:06:43

passed #1317919
meson-mingw32-x86_64

00:02:56

passed #1317889
meson-testing

00:01:18

passed #1317915
meson-vulkan

00:02:31

passed #1317922
scons

00:10:04

passed #1317924
scons-old-llvm

00:02:30

passed #1317903
scons-swr

00:04:54

passed #1317906
scons-win64

00:05:13

 
  Test
passed #1317950
db410c
arm64_a306_gles2

00:06:36

passed #1317947
mesa-cheza
arm64_a630_gles2

00:01:37

passed #1317949
mesa-cheza
arm64_a630_gles3

00:06:27

passed #1317948
mesa-cheza
arm64_a630_gles31

00:04:25

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

00:07:26

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

00:05:11

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

00:05:51

passed #1317936
piglit-glslparser

00:04:32

passed #1317934
piglit-quick_gl

00:11:34

passed #1317937
piglit-quick_shader

00:06:39

passed #1317939
test-llvmpipe-gles2

00:04:08

passed #1317940
test-softpipe-gles2

00:01:40

passed #1317943
test-softpipe-gles31 1/4

00:02:55

passed #1317941
test-softpipe-gles3 1/2

00:08:03

passed #1317944
test-softpipe-gles31 2/4

00:04:12

passed #1317945
test-softpipe-gles31 3/4

00:05:10

passed #1317946
test-softpipe-gles31 4/4

00:04:08

passed #1317942
test-softpipe-gles3 2/2

00:08:24