Merge pull request #736 from steve-lunarg/structbuffer-params
HLSL: add structuredbuffer pass by reference in fn params
This commit is contained in:
commit
69a2c69649
15 changed files with 975 additions and 558 deletions
|
|
@ -103,7 +103,11 @@ void TType::buildMangledName(TString& mangledName)
|
|||
mangledName += "M";
|
||||
break;
|
||||
case EbtStruct:
|
||||
mangledName += "struct-";
|
||||
case EbtBlock:
|
||||
if (basicType == EbtStruct)
|
||||
mangledName += "struct-";
|
||||
else
|
||||
mangledName += "block-";
|
||||
if (typeName)
|
||||
mangledName += *typeName;
|
||||
for (unsigned int i = 0; i < structure->size(); ++i) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue