anv,i965,iris: deduplicate setting of total_shared

v5: add patch

Signed-off-by: Rhys Perry <pendingchaos02@gmail.com>
Reviewed-by: Caio Marcelo de Oliveira Filho <caio.oliveira@intel.com>
Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
13 jobs for !622 with nir_lower_to_explicit in 52 minutes and 23 seconds (queued for 30 seconds)
latest detached
Status Job ID Name Coverage
  Containers Build
passed #487694
debian

00:03:56

 
  Build+Test
passed #487703
meson-arm64

00:03:19

passed #487702
meson-armhf

00:02:47

passed #487696
meson-clang

00:10:09

passed #487700
meson-clover

00:09:41

passed #487704
meson-i386

00:03:33

passed #487699
meson-main

00:06:03

passed #487695
meson-swr-glvnd

00:07:21

passed #487701
meson-vulkan

00:04:48

passed #487706
scons-llvm

00:06:25

passed #487705
scons-nollvm

00:04:27

passed #487697
scons-swr

00:07:25

passed #487698
scons-win64

00:08:00