mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-21 08:40:39 +01:00
intel/aubinator: Stop searching after a custom handler is found
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com> Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
This commit is contained in:
parent
d5bd0e411e
commit
0370350d11
1 changed files with 3 additions and 1 deletions
|
|
@ -725,8 +725,10 @@ parse_commands(struct gen_spec *spec, uint32_t *cmds, int size, int engine)
|
|||
decode_group(inst, p, 0);
|
||||
|
||||
for (i = 0; i < ARRAY_LENGTH(custom_handlers); i++) {
|
||||
if (gen_group_get_opcode(inst) == custom_handlers[i].opcode)
|
||||
if (gen_group_get_opcode(inst) == custom_handlers[i].opcode) {
|
||||
custom_handlers[i].handle(spec, p);
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue