mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-25 00:00:11 +01:00
broadcom/vc5: Add validation that we don't violate GFXH-1625 requirements.
We don't use TMUWT yet, but we will once we do SSBOs.
This commit is contained in:
parent
57ceb95c84
commit
089c32eefd
1 changed files with 5 additions and 0 deletions
|
|
@ -247,6 +247,11 @@ qpu_validate_inst(struct v3d_qpu_validate_state *state, struct qinst *qinst)
|
|||
|
||||
if (v3d_qpu_sig_writes_address(devinfo, &inst->sig))
|
||||
fail_instr(state, "RF write after THREND");
|
||||
|
||||
/* GFXH-1625: No TMUWT in the last instruction */
|
||||
if (state->last_thrsw_ip - state->ip == 2 &&
|
||||
inst->alu.add.op == V3D_QPU_A_TMUWT)
|
||||
fail_instr(state, "TMUWT in last instruction");
|
||||
}
|
||||
|
||||
if (inst->type == V3D_QPU_INSTR_TYPE_BRANCH) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue