mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-01 03:10:09 +01:00
Revert "anv: Stop generating weak references for instance entrypoints"
This reverts commit 00bb42105d. It was
not as well thought out as I had intended and broke the build when
VK_KHR_display is disabled in the build.
This commit is contained in:
parent
77bcbe712e
commit
8c0b9fdfa1
1 changed files with 13 additions and 0 deletions
|
|
@ -227,6 +227,19 @@ ${strmap(device_strmap, 'device')}
|
|||
* either pick the correct entry point.
|
||||
*/
|
||||
|
||||
% for e in instance_entrypoints:
|
||||
% if e.alias:
|
||||
<% continue %>
|
||||
% endif
|
||||
% if e.guard is not None:
|
||||
#ifdef ${e.guard}
|
||||
% endif
|
||||
${e.return_type} ${e.prefixed_name('anv')}(${e.decl_params()}) __attribute__ ((weak));
|
||||
% if e.guard is not None:
|
||||
#endif // ${e.guard}
|
||||
% endif
|
||||
% endfor
|
||||
|
||||
const struct anv_instance_dispatch_table anv_instance_dispatch_table = {
|
||||
% for e in instance_entrypoints:
|
||||
% if e.guard is not None:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue