broadcom/compiler: relax restriction on VPM inst in last thread end slot
authorIago Toral Quiroga <itoral@igalia.com>
Mon, 29 Nov 2021 11:39:24 +0000 (12:39 +0100)
committerMarge Bot <emma+marge@anholt.net>
Mon, 29 Nov 2021 14:06:43 +0000 (14:06 +0000)
According to the documentation, only vpmwt is disallowed in the last delay
slot of the thread end.

Reviewed-by: Alejandro PiƱeiro <apinheiro@igalia.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/13975>

src/broadcom/compiler/qpu_schedule.c

index 63a6e89..ff24016 100644 (file)
@@ -1509,7 +1509,7 @@ qpu_inst_valid_in_thrend_slot(struct v3d_compile *c,
         if (slot > 0 && qinst->uniform != ~0)
                 return false;
 
-        if (v3d_qpu_uses_vpm(inst))
+        if (v3d_qpu_waits_vpm(inst))
                 return false;
 
         if (inst->sig.ldvary)