Home
last modified time | relevance | path

Searched refs:variableType (Results 1 – 13 of 13) sorted by relevance

/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_util/
DReplaceArrayOfMatrixVarying.cpp55 TIntermTyped *variableType = sequence.front()->getAsTyped(); in visitDeclaration() local
56 if (!variableType || !IsVarying(variableType->getQualifier()) || in visitDeclaration()
57 !variableType->isMatrix() || !variableType->isArray()) in visitDeclaration()
62 TIntermSymbol *variableSymbol = variableType->getAsSymbolNode(); in visitDeclaration()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/d3d/
DRecordUniformBlocksWithLargeArrayMember.cpp171 const TType &variableType = variable.getType(); in visitSymbol() local
176 const TInterfaceBlock *interfaceBlock = variableType.getInterfaceBlock(); in visitSymbol()
186 if (!variableType.isInterfaceBlock()) in visitSymbol()
222 variableType.isArray() ? variableType.getOutermostArraySize() : 1; in visitSymbol()
230 if (!variableType.isInterfaceBlock()) in visitSymbol()
/third_party/typescript/src/services/refactors/
DextractSymbol.ts1036 const variableType: TypeNode | undefined = checker.typeToTypeNode( constant
1045 /*type*/ variableType));
1181 let variableType = isJS || !checker.isContextSensitive(node)
1187 … ({ variableType, initializer } = transformFunctionInitializerAndType(variableType, initializer));
1206 variableType,
1228 …reateVariableDeclaration(localNameText, /*exclamationToken*/ undefined, variableType, initializer);
1289 …n transformFunctionInitializerAndType(variableType: TypeNode | undefined, initializer: Expression)…
1291 if (variableType === undefined) return { variableType, initializer };
1293 …isArrowFunction(initializer) || !!initializer.typeParameters) return { variableType, initializer };
1298 if (!functionSignature) return { variableType, initializer };
[all …]
/third_party/skia/third_party/externals/angle2/src/tests/compiler_tests/
DIntermNode_test.cpp48 TType *variableType = new TType(type); in createTestSymbol() local
49 variableType->setQualifier(EvqTemporary); in createTestSymbol()
51 new TVariable(&symbolTable, symbolName, variableType, SymbolType::AngleInternal); in createTestSymbol()
/third_party/glslang/glslang/HLSL/
DhlslGrammar.cpp453 TType variableType; in acceptDeclaration() local
454 variableType.shallowCopy(declaredType); in acceptDeclaration()
459 variableType.transferArraySizes(arraySizes); in acceptDeclaration()
460 variableType.copyArrayInnerSizes(declaredType.getArraySizes()); in acceptDeclaration()
463 if (variableType.getBasicType() == EbtSampler) { in acceptDeclaration()
469 acceptPostDecls(variableType.getQualifier()); in acceptDeclaration()
484 … if (!(variableType.getBasicType() == EbtString && !variableType.getQualifier().isConstant()) && in acceptDeclaration()
487 parseContext.declareTypedef(idToken.loc, *fullName, variableType); in acceptDeclaration()
488 else if (variableType.getBasicType() == EbtBlock) { in acceptDeclaration()
491 parseContext.declareBlock(idToken.loc, variableType, fullName); in acceptDeclaration()
[all …]
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DValidateTypeSizeLimitations.cpp66 const TType &variableType = asSymbol->getType(); in visitDeclaration() local
71 setCommonVariableProperties(variableType, variable, &shaderVar); in visitDeclaration()
DOutputHLSL.cpp104 const TType &variableType = variable.getType(); in GetInterfaceBlockOfUniformBlockNearestIndexOperator() local
106 if (variableType.getQualifier() == EvqUniform && in GetInterfaceBlockOfUniformBlockNearestIndexOperator()
109 return variableType.getInterfaceBlock(); in GetInterfaceBlockOfUniformBlockNearestIndexOperator()
740 const TType &variableType = outputVariable.second->getType(); in header() local
742 out << "static " << TypeString(variableType) << " out_" << variableName in header()
743 << ArrayString(variableType) << " = " << zeroInitializer(variableType) << ";\n"; in header()
1182 const TType &variableType = variable.getType(); in visitSymbol() local
1183 if (variableType.getQualifier() == EvqUniform) in visitSymbol()
1185 TLayoutQualifier layout = variableType.getLayoutQualifier(); in visitSymbol()
1197 const TType &variableType = variable.getType(); in visitSymbol() local
[all …]
Dblocklayout.cpp155 size_t GetStd430BaseAlignment(GLenum variableType, bool isRowMajor) in GetStd430BaseAlignment() argument
157 GLenum flippedType = isRowMajor ? variableType : gl::TransposeMatrixType(variableType); in GetStd430BaseAlignment()
DParseContext.cpp2220 const TType &variableType = variable->getType(); in parseVariableIdentifier() local
2223 if (variable->getConstPointer() && variableType.canReplaceWithConstantUnion()) in parseVariableIdentifier()
2226 node = new TIntermConstantUnion(constArray, variableType); in parseVariableIdentifier()
2228 else if (variableType.getQualifier() == EvqWorkGroupSize && mComputeShaderLocalSizeDeclared) in parseVariableIdentifier()
2239 ASSERT(variableType.getBasicType() == EbtUInt); in parseVariableIdentifier()
2240 ASSERT(variableType.getObjectSize() == 3); in parseVariableIdentifier()
2242 TType type(variableType); in parseVariableIdentifier()
2247 (variableType.getQualifier() == EvqPerVertexIn)) in parseVariableIdentifier()
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DVertexFormatTests.cpp233 std::string variableType = in MakeTestPipeline() local
239 vs << " [[location(0)]] test : " << variableType << ";\n"; in MakeTestPipeline()
/third_party/skia/third_party/externals/angle2/src/libANGLE/
DProgram.h97 const char *variableType,
DProgram.cpp928 const char *variableType, in LogLinkMismatch() argument
935 stream << GetLinkMismatchErrorString(linkError) << "s of " << variableType << " '" in LogLinkMismatch()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/
Dglslang_wrapper_utils.cpp3321 SpirvVariableType variableType = mIds.visitVariable(typeId, id, storageClass, &name); in visitVariable() local
3323 if (variableType == SpirvVariableType::Other) in visitVariable()
3332 if (variableType == SpirvVariableType::BuiltIn) in visitVariable()