projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d5bd0e4
)
intel/aubinator: Stop searching after a custom handler is found
author
Jordan Justen
<jordan.l.justen@intel.com>
Tue, 28 Mar 2017 20:36:11 +0000
(13:36 -0700)
committer
Jordan Justen
<jordan.l.justen@intel.com>
Thu, 6 Apr 2017 20:26:08 +0000
(13:26 -0700)
Signed-off-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
src/intel/tools/aubinator.c
patch
|
blob
|
history
diff --git
a/src/intel/tools/aubinator.c
b/src/intel/tools/aubinator.c
index 05d932ea6c7587f63761ab88bb18bec76f865c19..f1bedd271e1dbc0055703618eeb54da173eff635 100644
(file)
--- a/
src/intel/tools/aubinator.c
+++ b/
src/intel/tools/aubinator.c
@@
-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;
+ }
}
}