Commit 05a03499 authored by Alejandro Piñeiro's avatar Alejandro Piñeiro

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 <>
Reviewed-by: Eric Anholt's avatarEric Anholt <>
Part-of: <!6447>
parent 2e8b6f64
Pipeline #194860 waiting for manual action with stages