diff options
| author | Yong He <yonghe@outlook.com> | 2020-09-01 13:47:26 -0700 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-09-01 13:47:26 -0700 |
| commit | 5c56479c7b742f94ebf4a97d93826b2a5e4f279d (patch) | |
| tree | fdd348b67d09b7af5603532d4015036bee588062 /source/core/slang-platform.h | |
| parent | 69025ad82238a7402b18d9c566fac1574faef684 (diff) | |
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.
Diffstat (limited to 'source/core/slang-platform.h')
| -rw-r--r-- | source/core/slang-platform.h | 6 |
1 files changed, 3 insertions, 3 deletions
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 |
