diff options
| author | jsmall-nvidia <jsmall@nvidia.com> | 2020-12-01 17:29:01 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-12-01 17:29:01 -0500 |
| commit | 200e236d64a02d9e85cb4a459477e073b81f5182 (patch) | |
| tree | 7c1c7b75eb8d95238afe154ff826ec065767104b /source/slang/slang-check-shader.cpp | |
| parent | 339422dc91e10d15cf861ba3006025e3cec250c5 (diff) | |
Make SlangCompileRequest COM type (#1620)
* #include an absolute path didn't work - because paths were taken to always be relative.
* WIP for COM CompileRequest.
* Add more methods to IGlobalSession.
* Fix createCompileRequest.
Made slangc tool use COM style methods.
* m_ prefix variables in EndToEndCompileRequest
Diffstat (limited to 'source/slang/slang-check-shader.cpp')
| -rw-r--r-- | source/slang/slang-check-shader.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source/slang/slang-check-shader.cpp b/source/slang/slang-check-shader.cpp index 7793dfcbc..800a0519f 100644 --- a/source/slang/slang-check-shader.cpp +++ b/source/slang/slang-check-shader.cpp @@ -1513,7 +1513,7 @@ namespace Slang List<Expr*> globalSpecializationArgs; parseSpecializationArgStrings( endToEndReq, - endToEndReq->globalSpecializationArgStrings, + endToEndReq->m_globalSpecializationArgStrings, globalSpecializationArgs); // Don't proceed further if anything failed to parse. @@ -1548,11 +1548,11 @@ namespace Slang // ahead and consider all the entry points that were found // by the front-end. // - Index entryPointCount = endToEndReq->entryPoints.getCount(); + Index entryPointCount = endToEndReq->m_entryPoints.getCount(); if( entryPointCount == 0 ) { entryPointCount = unspecializedProgram->getEntryPointCount(); - endToEndReq->entryPoints.setCount(entryPointCount); + endToEndReq->m_entryPoints.setCount(entryPointCount); } return specializedProgram; @@ -1617,7 +1617,7 @@ namespace Slang // We will thus draw a distinction between the "specified" entry points, // and the "found" entry points. // - auto specifiedEntryPointCount = endToEndReq->entryPoints.getCount(); + auto specifiedEntryPointCount = endToEndReq->m_entryPoints.getCount(); auto foundEntryPointCount = unspecializedGlobalAndEntryPointsComponentType->getEntryPointCount(); SLANG_ASSERT(foundEntryPointCount >= specifiedEntryPointCount); @@ -1627,7 +1627,7 @@ namespace Slang // for(Index ii = 0; ii < specifiedEntryPointCount; ++ii) { - auto& entryPointInfo = endToEndReq->entryPoints[ii]; + auto& entryPointInfo = endToEndReq->m_entryPoints[ii]; auto unspecializedEntryPoint = unspecializedGlobalAndEntryPointsComponentType->getEntryPoint(ii); auto specializedEntryPoint = createSpecializedEntryPoint(endToEndReq, unspecializedEntryPoint, entryPointInfo); |
