diff options
Diffstat (limited to 'source/slang/parameter-binding.cpp')
| -rw-r--r-- | source/slang/parameter-binding.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/slang/parameter-binding.cpp b/source/slang/parameter-binding.cpp index 6145015f1..6dac47631 100644 --- a/source/slang/parameter-binding.cpp +++ b/source/slang/parameter-binding.cpp @@ -1786,6 +1786,8 @@ void generateParameterBindings( return; RefPtr<ProgramLayout> programLayout = new ProgramLayout(); + programLayout->targetRequest = targetReq; + targetReq->layout = programLayout; // Create a context to hold shared state during the process @@ -2061,6 +2063,7 @@ RefPtr<ProgramLayout> specializeProgramLayout( { RefPtr<ProgramLayout> newProgramLayout; newProgramLayout = new ProgramLayout(); + newProgramLayout->targetRequest = targetReq; newProgramLayout->bindingForHackSampler = programLayout->bindingForHackSampler; newProgramLayout->hackSamplerVar = programLayout->hackSamplerVar; newProgramLayout->globalGenericParams = programLayout->globalGenericParams; |
