Module: Mesa Branch: master Commit: d661d78464aec0af7d6976512eca155623cbecc2 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=d661d78464aec0af7d6976512eca155623cbecc2
Author: Eric Anholt <[email protected]> Date: Mon Jul 16 12:35:11 2018 -0700 v3d: Apply GFXH-1625 restriction on TMUWT in the end of the shader. This doesn't affect us yet since we're not doing TMUWTs, but I think we will for GLES 3.1. --- src/broadcom/compiler/qpu_schedule.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/broadcom/compiler/qpu_schedule.c b/src/broadcom/compiler/qpu_schedule.c index b404390a79..a2260f8b2a 100644 --- a/src/broadcom/compiler/qpu_schedule.c +++ b/src/broadcom/compiler/qpu_schedule.c @@ -1073,6 +1073,10 @@ qpu_instruction_valid_in_thrend_slot(struct v3d_compile *c, return false; if (inst->type == V3D_QPU_INSTR_TYPE_ALU) { + /* GFXH-1625: TMUWT not allowed in the final instruction. */ + if (slot == 2 && inst->alu.add.op == V3D_QPU_A_TMUWT) + return false; + /* No writing physical registers at the end. */ if (!inst->alu.add.magic_write || !inst->alu.mul.magic_write) { _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
