v3d: set instance id to 0 at start of tile

PTB assumes that base instance to be 0 at start of tile, but hw would
not do that, we need to set it. It is worth to note that the opcode
name is somewhat confusing as what it really sets is the base
instance. We could rename the opcode, but then the name would be
different to the original Broadcom name, so confusing in any case.

This fixes several dEQP-GLES3 and dEQP-GLES31 tests that passes
individually, but started to fail depending on other tests running
before using base instance different to zero.

This is the backport of a Vulkan patch that fixed some Vulkan CTS
tests that start to fails after some other tests used an instance id.

CC: 20.2 20.1 <mesa-stable@lists.freedesktop.org>

Reviewed-by: Eric Anholt <eric@anholt.net>
Part-of: <!6447>
31 jobs for master
Status Job ID Name Coverage
  Container+Docs
manual #4269497
aarch64 manual
arm_build
manual #4269499
manual
arm_test-base
manual #4269491
manual
x86_build-base
manual #4269494
manual
x86_build_old
manual #4269493
manual
x86_test-base
 
  Container 2
created #4269523
arm64_test
created #4269511
i386_build
created #4269501
kernel+rootfs_amd64
created #4269503
aarch64
kernel+rootfs_arm64
created #4269506
aarch64
kernel+rootfs_armhf
created #4269512
ppc64el_build
created #4269514
s390x_build
created #4269509
x86_build
created #4269517
x86_test-gl
created #4269520
x86_test-vk
 
  Meson X86 64
created #4269533
meson-android
created #4269536
meson-clang
created #4269531
meson-classic
created #4269538
meson-clover
created #4269541
meson-clover-old-llvm
created #4269529
meson-gallium
created #4269525
meson-testing
created #4269544
meson-vulkan
 
  Scons
created #4269548
allowed to fail
scons-win64
 
  Meson Misc
created #4269554
aarch64
meson-arm64
created #4269558
aarch64
meson-arm64-build-test
created #4269550
aarch64
meson-armhf
created #4269560
meson-i386
created #4269570
meson-mingw32-x86_64
created #4269566
kvm
meson-ppc64el
created #4269563
kvm
meson-s390x