broadcom/vc5: Add missing shader-db instruction counting.

I must have misplaced it in the instruction packing rework.
This commit is contained in:
Eric Anholt
2018-02-04 21:27:32 +00:00
parent 7801425028
commit f3978a7380
+7
View File
@@ -333,6 +333,13 @@ v3d_vir_to_qpu(struct v3d_compile *c, struct qpu_reg *temp_registers)
}
assert(i == c->qpu_inst_count);
if (V3D_DEBUG & V3D_DEBUG_SHADERDB) {
fprintf(stderr, "SHADER-DB: %s prog %d/%d: %d instructions\n",
vir_get_stage_name(c),
c->program_id, c->variant_id,
c->qpu_inst_count);
}
if (V3D_DEBUG & V3D_DEBUG_SHADERDB) {
fprintf(stderr, "SHADER-DB: %s prog %d/%d: %d estimated cycles\n",
vir_get_stage_name(c),