• Home
  • Raw
  • Download

Lines Matching refs:TVariable

660     const TVariable* variable = nullptr;  in handleVariable()
702 variable = new TVariable(string, TType(EbtVoid)); in handleVariable()
1104 TVariable* ioVar = makeInternalVariable(baseName + "." + memberType.getFieldName(), memberType); in splitBuiltIn()
1128 void HlslParseContext::split(const TVariable& variable) in split()
1176 void HlslParseContext::flatten(const TVariable& variable, bool linkage) in flatten()
1219 int HlslParseContext::flatten(const TVariable& variable, const TType& type, in flatten()
1238 int HlslParseContext::addFlattenedMember(const TVariable& variable, const TType& type, TFlattenData… in addFlattenedMember()
1245 TVariable* memberVariable = makeInternalVariable(memberName, type); in addFlattenedMember()
1280 int HlslParseContext::flattenStruct(const TVariable& variable, const TType& type, in flattenStruct()
1316 int HlslParseContext::flattenArray(const TVariable& variable, const TType& type, in flattenArray()
1387 const TVariable* memberVariable = flattenData->second.members[member]; in flattenAccess()
1440 TVariable* HlslParseContext::getSplitNonIoVar(int id) const in getSplitNonIoVar()
1537 void HlslParseContext::assignToInterface(TVariable& variable) in assignToInterface()
1539 const auto assignLocation = [&](TVariable& variable) { in assignToInterface()
1571 TVariable* splitIoVar = getSplitNonIoVar(variable.getUniqueId()); in assignToInterface()
1625 TVariable *variable = makeInternalVariable(counterBlockName, counterType); in addStructBufferHiddenCounterParam()
1689 TVariable *variable = new TVariable(param.name, *param.type); in handleFunctionDefinition()
2011 TVariable* entryPointOutput; // gets created in remapEntryPointIO in transformEntryPoint()
2012 TVector<TVariable*> inputs; in transformEntryPoint()
2013 TVector<TVariable*> outputs; in transformEntryPoint()
2017 const auto makeVariableInOut = [&](TVariable& variable) { in transformEntryPoint()
2071 TVector<TVariable*> argVars; in transformEntryPoint()
2115 TVariable* variable = makeInternalVariable(*invocationIdName, invocationIdType); in transformEntryPoint()
2189 void HlslParseContext::remapEntryPointIO(TFunction& function, TVariable*& returnValue, in remapEntryPointIO()
2190 TVector<TVariable*>& inputs, TVector<TVariable*>& outputs) in remapEntryPointIO()
2245 …o makeIoVariable = [this](const char* name, TType& type, TStorageQualifier storage) -> TVariable* { in remapEntryPointIO()
2246 TVariable* ioVariable = makeInternalVariable(name, type); in remapEntryPointIO()
2302TVariable* argAsGlobal = makeIoVariable(function[i].name->c_str(), paramType, EvqVaryingIn); in remapEntryPointIO()
2306TVariable* argAsGlobal = makeIoVariable(function[i].name->c_str(), paramType, EvqVaryingOut); in remapEntryPointIO()
2376 TVariable* rhsTempVar = nullptr; in assignPosition()
2439 TVariable** clipCullVar = nullptr; in assignClipCullDistance()
2723 const TVector<TVariable*>* leftVariables = nullptr; in handleAssign()
2724 const TVector<TVariable*>* rightVariables = nullptr; in handleAssign()
2728 TVariable* rhsTempVar = nullptr; in handleAssign()
2789 const TVariable* builtInVar = nullptr; in handleAssign()
3142 TVariable* newTexture = makeInternalVariable(texSymbol->getName(), texType); in handleSamplerTextureCombine()
3344TVariable* byteAddrSym = makeInternalVariable("byteAddrTemp", TType(EbtInt, EvqTemporary)); in decomposeStructBufferMethods()
3415TVariable* byteAddrSym = makeInternalVariable("byteAddrTemp", TType(EbtInt, EvqTemporary)); in decomposeStructBufferMethods()
3665 TVariable* structVar = makeInternalVariable("@sampleStructTemp", retType); in decomposeSampleMethods()
3669TVariable* sampleShadow = makeInternalVariable("@sampleResultShadow", result->getType()); in decomposeSampleMethods()
3989 TVariable* tempArg = makeInternalVariable("sizeQueryTemp", sizeQuery->getType()); in decomposeSampleMethods()
4441 TVariable* outSampleCount = makeInternalVariable("@sampleCount", TType(EbtUint)); in decomposeSampleMethods()
4608 TVariable* variable = new TVariable(new TString(name), type); in decomposeIntrinsic()
5140 TVariable* tempArg = makeInternalVariable("@finitetmp", arg0->getType()); in decomposeIntrinsic()
5574TVariable* internalAggregate = makeInternalVariable("aggShadow", *function[param].type); in addInputArgumentConversions()
5713 TVariable* tempRet = nullptr; in addOutputArgumentConversions()
5731 TVariable* tempArg = makeInternalVariable("tempArg", *function[i].type); in addOutputArgumentConversions()
5790 TVariable* variable = makeInternalVariable(counterBlockName, counterType); in addStructBuffArguments()
6231 TVariable* fakeVariable = new TVariable(&symbol->getName(), TType(EbtFloat)); in variableCheck()
6648 symbol = new TVariable(&identifier, type); in declareArray()
7572 TVariable* typeSymbol = new TVariable(&identifier, parseType, true); in declareTypedef()
7588 TVariable* userTypeDef = new TVariable(&structName, type, true); in declareStruct()
7779 TVariable* variable = symbol->getAsVariable(); in declareVariable()
7804 TVariable* HlslParseContext::makeInternalVariable(const char* name, const TType& type) const in makeInternalVariable()
7807 TVariable* variable = new TVariable(nameString, type); in makeInternalVariable()
7817 TVariable* tmpVar = makeInternalVariable(name, type); in makeInternalVariableNode()
7829 TVariable* HlslParseContext::declareNonArray(const TSourceLoc& loc, const TString& identifier, cons… in declareNonArray()
7833 TVariable* variable = new TVariable(&identifier, type); in declareNonArray()
7854 …eContext::executeInitializer(const TSourceLoc& loc, TIntermTyped* initializer, TVariable* variable) in executeInitializer()
8627 TVariable& variable = *new TVariable(instanceName, blockType); in declareBlock()
9002 TVariable* workGroupSize = getEditableVariable("gl_WorkGroupSize"); in updateStandaloneQualifierDefaults()
9008 TVariable* workGroupSize = getEditableVariable("gl_WorkGroupSize"); in updateStandaloneQualifierDefaults()
9128 TVariable& thisVariable = *new TVariable(NewPoolTString(""), thisStruct); in pushThisScope()
9572 TVariable& variable = *new TVariable(name, type); in addPatchConstantInvocation()
9698 TVariable* perCtrlPtVar = nullptr; in addPatchConstantInvocation()
9806 TVariable* argVar = makeInternalVariable(*param.name, *param.type); in addPatchConstantInvocation()
9847 TVariable* pcfOutput = makeInternalVariable("@patchConstantOutput", outType); in addPatchConstantInvocation()
9859 TVariable* pcfCallResult = makeInternalVariable("@patchConstantResult", *retType); in addPatchConstantInvocation()