summaryrefslogtreecommitdiffstats
path: root/src/intel/vulkan/anv_entrypoints_gen.py
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2018-10-14 21:56:47 -0500
committerJason Ekstrand <[email protected]>2018-10-18 09:17:39 -0500
commit00bb42105d6edf6e432c0e3712ffb9d3eb0aece4 (patch)
tree3a1fa02e5e48d0231380edc7d59b6a3b045e3c62 /src/intel/vulkan/anv_entrypoints_gen.py
parent7c65cf98441ae0f03640d2feebb5d0e5a83f2721 (diff)
anv: Stop generating weak references for instance entrypoints
We don't need weak references to instance entrypoints because we never have more than one of each so we don't need the NULL fall-back. This also helps us avoid forgetting things because we now get link errors for missing instance entrypoints. Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/intel/vulkan/anv_entrypoints_gen.py')
-rw-r--r--src/intel/vulkan/anv_entrypoints_gen.py13
1 files changed, 0 insertions, 13 deletions
diff --git a/src/intel/vulkan/anv_entrypoints_gen.py b/src/intel/vulkan/anv_entrypoints_gen.py
index beb658b8660..25a532fd706 100644
--- a/src/intel/vulkan/anv_entrypoints_gen.py
+++ b/src/intel/vulkan/anv_entrypoints_gen.py
@@ -227,19 +227,6 @@ ${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: