summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEmil Velikov <[email protected]>2017-02-19 11:49:21 +0000
committerEmil Velikov <[email protected]>2017-02-21 18:31:16 +0000
commit8b79f0ed0812a3a80dd91e47112fd722bd2d6978 (patch)
tree8d1cf00cd96734824e4cad2dd784521b07168204 /src
parent320561bd831b81843e732d38d2b254aa3b25f2f6 (diff)
radv: make radv_resolve_entrypoint static
Used only within the generated source file. Fixes: 12301c54186 ("radv: drop the RADV_CALL macro.") Signed-off-by: Emil Velikov <[email protected]> Reviewed-by: Eduardo Lima Mitev <[email protected]>
Diffstat (limited to 'src')
-rw-r--r--src/amd/vulkan/radv_entrypoints_gen.py2
-rw-r--r--src/amd/vulkan/radv_private.h1
2 files changed, 1 insertions, 2 deletions
diff --git a/src/amd/vulkan/radv_entrypoints_gen.py b/src/amd/vulkan/radv_entrypoints_gen.py
index adab91a380d..5c3bd6f7bff 100644
--- a/src/amd/vulkan/radv_entrypoints_gen.py
+++ b/src/amd/vulkan/radv_entrypoints_gen.py
@@ -203,7 +203,7 @@ for layer in [ "radv" ]:
print """
-void * __attribute__ ((noinline))
+static void * __attribute__ ((noinline))
radv_resolve_entrypoint(uint32_t index)
{
return radv_layer.entrypoints[index];
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h
index f9635121712..140bf8d5ca3 100644
--- a/src/amd/vulkan/radv_private.h
+++ b/src/amd/vulkan/radv_private.h
@@ -259,7 +259,6 @@ void radv_loge_v(const char *format, va_list va);
return; \
} while (0)
-void *radv_resolve_entrypoint(uint32_t index);
void *radv_lookup_entrypoint(const char *name);
struct radv_extensions {