summaryrefslogtreecommitdiffstats
path: root/src/vulkan/anv_entrypoints_gen.py
diff options
context:
space:
mode:
authorJason Ekstrand <[email protected]>2015-09-24 13:51:54 -0700
committerJason Ekstrand <[email protected]>2015-09-24 14:45:58 -0700
commitf5e72695e0e75aa787d42646962228b04965d2d9 (patch)
tree0acc2a0dca2109e5dbb1c6b53e7ee15cd4860318 /src/vulkan/anv_entrypoints_gen.py
parent913a9b76f78fd6fbef3658667acf2d737d656eb2 (diff)
anv/entrypoints: Rename anv_layer to anv_dispatch_table
Diffstat (limited to 'src/vulkan/anv_entrypoints_gen.py')
-rw-r--r--src/vulkan/anv_entrypoints_gen.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vulkan/anv_entrypoints_gen.py b/src/vulkan/anv_entrypoints_gen.py
index 149f34c9842..50c98456846 100644
--- a/src/vulkan/anv_entrypoints_gen.py
+++ b/src/vulkan/anv_entrypoints_gen.py
@@ -80,7 +80,7 @@ for line in fileinput.input():
if opt_header:
print "/* This file generated from vk_gen.py, don't edit directly. */\n"
- print "struct anv_layer {"
+ print "struct anv_dispatch_table {"
print " union {"
print " void *entrypoints[%d];" % len(entrypoints)
print " struct {"
@@ -166,7 +166,7 @@ print "};\n"
for layer in [ "anv", "validate", "gen7", "gen8" ]:
for type, name, args, num, h in entrypoints:
print "%s %s_%s%s __attribute__ ((weak));" % (type, layer, name, args)
- print "\nconst struct anv_layer %s_layer = {" % layer
+ print "\nconst struct anv_dispatch_table %s_layer = {" % layer
for type, name, args, num, h in entrypoints:
print " .%s = %s_%s," % (name, layer, name)
print "};\n"