mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 09:40:08 +01:00
anv: Annotate entrypoint table with index and func name
This helps when debugging a broken entrypoint table. Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
This commit is contained in:
parent
e1e3c0384b
commit
ec8ed2f277
1 changed files with 2 additions and 2 deletions
|
|
@ -120,8 +120,8 @@ TEMPLATE_C = Template(textwrap.dedent(u"""\
|
|||
;
|
||||
|
||||
static const struct anv_entrypoint entrypoints[] = {
|
||||
% for _, _, _, num, h, _ in entrypoints:
|
||||
{ ${offsets[num]}, ${'{:0=#8x}'.format(h)} },
|
||||
% for _, name, _, num, h, _ in entrypoints:
|
||||
[${num}] = { ${offsets[num]}, ${'{:0=#8x}'.format(h)} }, /* vk${name} */
|
||||
% endfor
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue