Browse Source

anv: Annotate entrypoint table with index and func name

This helps when debugging a broken entrypoint table.

Reviewed-by: Jason Ekstrand <jason@jlekstrand.net>
tags/17.3-branchpoint
Chad Versace 8 years ago
parent
commit
ec8ed2f277
1 changed files with 2 additions and 2 deletions
  1. 2
    2
      src/intel/vulkan/anv_entrypoints_gen.py

+ 2
- 2
src/intel/vulkan/anv_entrypoints_gen.py View File

@@ -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…
Cancel
Save