From 9604118401f185c0e1a213b8e99dad060c6263bc Mon Sep 17 00:00:00 2001 From: jsmall-nvidia Date: Wed, 13 Nov 2019 13:35:56 -0500 Subject: * 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. --- source/slang/slang-parameter-binding.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'source/slang/slang-parameter-binding.cpp') 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 collectEntryPointParameters( // RefPtr 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. -- cgit v1.2.3