diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2019-11-13 13:35:56 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-11-13 13:35:56 -0500 |
| commit | 9604118401f185c0e1a213b8e99dad060c6263bc (patch) | |
| tree | b2a651f72f8f6f10afad74ba7cdc91376aa0f2d5 /source/slang/slang-parameter-binding.cpp | |
| parent | 166a7387cb3a83b24dd4b9279877338c758eb8b6 (diff) | |
* Added getCStr(Name*) (#1121)
* Added the name to the EntryPointLayout so is always available
* Made spReflectionEntryPoint_getName use name
* Improved checking for entry point name in render-test
* Improved COMPILE test type to allow failure and output of failure.
Diffstat (limited to 'source/slang/slang-parameter-binding.cpp')
| -rw-r--r-- | source/slang/slang-parameter-binding.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/slang/slang-parameter-binding.cpp b/source/slang/slang-parameter-binding.cpp index 33ad32918..5ea81c809 100644 --- a/source/slang/slang-parameter-binding.cpp +++ b/source/slang/slang-parameter-binding.cpp @@ -2166,6 +2166,7 @@ static RefPtr<EntryPointLayout> collectEntryPointParameters( // RefPtr<EntryPointLayout> entryPointLayout = new EntryPointLayout(); entryPointLayout->profile = entryPoint->getProfile(); + entryPointLayout->name = entryPoint->getName(); // The entry point layout must be added to the output // program layout so that it can be accessed by reflection. |
