From 5c56479c7b742f94ebf4a97d93826b2a5e4f279d Mon Sep 17 00:00:00 2001 From: Yong He Date: Tue, 1 Sep 2020 13:47:26 -0700 Subject: Support dynamic existential shader parameters in render-test (#1525) * Support dynamic existential shader parameters in render-test * Fix linux build error. * Fixes. * Fix code review issues. * Fix gcc error. * More fixes. * More fixes. --- source/core/slang-platform.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source/core/slang-platform.h') diff --git a/source/core/slang-platform.h b/source/core/slang-platform.h index 767e83c1d..804e2b773 100644 --- a/source/core/slang-platform.h +++ b/source/core/slang-platform.h @@ -93,10 +93,10 @@ namespace Slang /// @param The valid handle returned from load static void unload(Handle handle); - /// Given a shared library handle and a name, return the associated function - /// Return nullptr if function is not found + /// Given a shared library handle and a name, return the associated object + /// Return nullptr if object is not found /// @param The shared library handle as returned by loadPlatformLibrary - static FuncPtr findFuncByName(Handle handle, char const* name); + static void* findSymbolAddressByName(Handle handle, char const* name); /// Append to the end of dst, the name, with any platform specific additions /// The input name should be unadorned with any 'lib' prefix or extension -- cgit v1.2.3