Home
last modified time | relevance | path

Searched refs:getBasicType (Results 1 – 25 of 54) sorted by relevance

123

/external/chromium_org/third_party/angle/src/compiler/translator/
DIntermediate.cpp171 …if (left->isMatrix() || left->isArray() || left->isVector() || left->getBasicType() == EbtStruct) { in addBinaryMath()
178 … if (left->getBasicType() != EbtBool || left->isMatrix() || left->isArray() || left->isVector()) { in addBinaryMath()
186 if (left->getBasicType() == EbtStruct || left->getBasicType() == EbtBool) in addBinaryMath()
299 …if (child->getType().getBasicType() != EbtBool || child->getType().isMatrix() || child->getType().… in addUnaryMath()
309 if (child->getType().getBasicType() == EbtStruct || child->getType().isArray()) in addUnaryMath()
425 if (node->getBasicType() == EbtVoid || in addConversion()
426 IsSampler(node->getBasicType())) in addConversion()
471 if (type.getBasicType() != node->getType().getBasicType()) in addConversion()
493 switch (node->getBasicType()) { in addConversion()
503 switch (node->getBasicType()) { in addConversion()
[all …]
DSymbolTable.cpp158 if (ptype1->getBasicType() == EbtGSampler2D) in insertBuiltIn()
160 bool gvec4 = (rvalue->getBasicType() == EbtGVec4); in insertBuiltIn()
169 if (ptype1->getBasicType() == EbtGSampler3D) in insertBuiltIn()
171 bool gvec4 = (rvalue->getBasicType() == EbtGVec4); in insertBuiltIn()
180 if (ptype1->getBasicType() == EbtGSamplerCube) in insertBuiltIn()
182 bool gvec4 = (rvalue->getBasicType() == EbtGVec4); in insertBuiltIn()
191 if (ptype1->getBasicType() == EbtGSampler2DArray) in insertBuiltIn()
193 bool gvec4 = (rvalue->getBasicType() == EbtGVec4); in insertBuiltIn()
DForLoopUnroll.cpp23 if (IsSampler(symbol->getBasicType()) && symbol->isArray() && !mLoopStack.empty()) in visitBinary()
48 if (symbol->getBasicType() == EbtInt) in visitLoop()
70 switch (symbol->getBasicType()) in visitSymbol()
DFlagStd140Structs.cpp14 if (binaryNode->getRight()->getBasicType() == EbtStruct) in visitBinary()
41 if (isInStd140InterfaceBlock(symbol) && symbol->getBasicType() == EbtStruct) in visitSymbol()
DVariableInfo.cpp21 switch (type.getBasicType()) { in getVariableDataType()
139 if (type.getBasicType() == EbtStruct || type.isInterfaceBlock()) { in getVariableInfo()
159 ASSERT(type.getBasicType() != EbtStruct); in getBuiltInVariableInfo()
184 ASSERT(type.getBasicType() == EbtStruct || type.isInterfaceBlock()); in getUserDefinedVariableInfo()
DOutputHLSL.cpp74 if (IsSampler(type.getBasicType())) in RegisterPrefix()
382 if (type.getBasicType() == EbtStruct || type.isMatrix() || type.isArray()) in std140PrePaddingString()
430 if (!type.isMatrix() && !type.isArray() && type.getBasicType() != EbtStruct) in std140PostPaddingString()
574 …if (mOutputType == SH_HLSL11_OUTPUT && IsSampler(type.getBasicType())) // Also declare the textu… in header()
1971 ASSERT(node->getLeft()->getBasicType() != EbtInterfaceBlock); in visitBinary()
2049 else if (node->getLeft()->getBasicType() == EbtStruct) in visitBinary()
2473 TBasicType samplerType = arguments[0]->getAsTyped()->getType().getBasicType(); in visitAggregate()
2593 … if (mOutputType == SH_HLSL11_OUTPUT && IsSampler((*arg)->getAsTyped()->getBasicType())) in visitAggregate()
3049 if (constant->getBasicType() == EbtInt && constant->isScalar()) in handleExcessiveLoop()
3071 if (constant->getBasicType() == EbtInt && constant->isScalar()) in handleExcessiveLoop()
[all …]
DParseContext.cpp333 if (node->getBasicType() == EbtVoid) { in lValueErrorCheck()
336 if (IsSampler(node->getBasicType())) { in lValueErrorCheck()
554 if (op != EOpConstructStruct && IsSampler(typed->getBasicType())) { in constructorErrorCheck()
558 if (typed->getBasicType() == EbtVoid) { in constructorErrorCheck()
586 … if (type->getBasicType() != EbtBool || type->isArray() || type->isMatrix() || type->isVector()) { in boolErrorCheck()
665 type.getBasicType() != EbtStruct && IsSampler(type.getBasicType())) { in parameterSamplerErrorCheck()
675 if (IsSampler(type.getBasicType())) in containsSampler()
678 if (type.getBasicType() == EbtStruct || type.isInterfaceBlock()) { in containsSampler()
706 if (constant->getBasicType() == EbtUInt) in arraySizeErrorCheck()
1923 if (IsSampler(fieldType->getBasicType())) { in addInterfaceBlock()
[all …]
DOutputGLSLBase.cpp90 if (type.getBasicType() == EbtStruct && !structDeclared(type.getStruct())) in writeVariableType()
132 if (type.getBasicType() == EbtStruct) in writeConstantUnion()
300 ASSERT(element->getBasicType() == EbtInt); in visitBinary()
759 ASSERT(type.getBasicType() == EbtStruct); in visitAggregate()
982 switch (type.getBasicType()) in getTypeName()
1000 if (type.getBasicType() == EbtStruct) in getTypeName()
/external/deqp/modules/gles31/functional/
Des31fProgramInterfaceDefinition.cpp59 if (varType.isBasicType() && predicate(varType.getBasicType())) in containsMatchingSubtype()
118 if (glu::isDataTypeBoolOrBVec(varType.getBasicType())) in isIllegalVertexInput()
129 …aTypeScalar(varType.getBasicType()) && !glu::isDataTypeVector(varType.getBasicType()) && !glu::isD… in isIllegalVertexOutput()
131 if (glu::isDataTypeBoolOrBVec(varType.getBasicType())) in isIllegalVertexOutput()
175 …aTypeScalar(varType.getBasicType()) && !glu::isDataTypeVector(varType.getBasicType()) && !glu::isD… in isIllegalFragmentOutput()
177 …if (glu::isDataTypeBoolOrBVec(varType.getBasicType()) || isOpaqueType || glu::isDataTypeMatrix(var… in isIllegalFragmentOutput()
199 …return glu::isDataTypeIntOrIVec(varType.getBasicType()) || glu::isDataTypeUintOrUVec(varType.getBa… in isTypeIntegerOrContainsIntegers()
Des31fShaderIntegerFunctionTests.cpp81 const glu::DataType basicType = varValue.type.getBasicType(); in operator <<()
371 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
425 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
467 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
519 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
561 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
611 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
651 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
702 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
742 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
[all …]
Des31fShaderCommonFunctionTests.cpp321 const glu::DataType basicType = varValue.type.getBasicType(); in operator <<()
477 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
489 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
559 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
582 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
659 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
689 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
771 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
780 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
834 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
[all …]
Des31fProgramInterfaceDefinitionUtil.cpp253 if (glu::isDataTypeScalar(varType.getBasicType())) in writeVariableReadAccumulateExpression()
255 else if (glu::isDataTypeVector(varType.getBasicType())) in writeVariableReadAccumulateExpression()
257 else if (glu::isDataTypeMatrix(varType.getBasicType())) in writeVariableReadAccumulateExpression()
259 else if (glu::isDataTypeSamplerMultisample(varType.getBasicType())) in writeVariableReadAccumulateExpression()
261 else if (glu::isDataTypeSampler(varType.getBasicType())) in writeVariableReadAccumulateExpression()
263 else if (glu::isDataTypeImage(varType.getBasicType())) in writeVariableReadAccumulateExpression()
265 else if (varType.getBasicType() == glu::TYPE_UINT_ATOMIC_COUNTER) in writeVariableReadAccumulateExpression()
329 if (glu::isDataTypeScalar(varType.getBasicType())) in writeVariableWriteExpression()
330 buf << glu::getDataTypeName(varType.getBasicType()) << "(" << sourceVec4Name << ".y)"; in writeVariableWriteExpression()
331 …else if (glu::isDataTypeVector(varType.getBasicType()) || glu::isDataTypeMatrix(varType.getBasicTy… in writeVariableWriteExpression()
[all …]
Des31fProgramInterfaceQueryTestCase.cpp93 …return glu::getDataTypeScalarSize(type.getBasicType()) * getTypeSize(glu::getDataTypeScalarType(ty… in getVarTypeSize()
353 …age << "Verifying type, expecting " << glu::getDataTypeName(variable->getBasicType()) << tcu::Test… in validateSingleVariable()
355 if (variable->getBasicType() != glu::getDataTypeFromGLType(propValue)) in validateSingleVariable()
474 …cCounter = glu::isDataTypeAtomicCounter(component.getVariableType()->getBasicType()); // atomic c… in validateSingleVariable()
481 …mponent.getVariableType()->getBasicType()) * getTypeSize(glu::getDataTypeScalarType(component.getV… in validateSingleVariable()
600 const bool isMatrix = glu::isDataTypeMatrix(component.getVariableType()->getBasicType()); in validateSingleVariable()
632 const bool isMatrix = glu::isDataTypeMatrix(component.getVariableType()->getBasicType()); in validateSingleVariable()
640 …component.getVariableType()->getBasicType())) : (glu::getDataTypeMatrixNumColumns(component.getVar… in validateSingleVariable()
641 …jorElements * getTypeSize(glu::getDataTypeScalarType(component.getVariableType()->getBasicType())); in validateSingleVariable()
653 …erBlock && !glu::isDataTypeAtomicCounter(component.getVariableType()->getBasicType())) ? (-1) : (0… in validateSingleVariable()
[all …]
/external/deqp/modules/glshared/
DglsShaderExecUtil.cpp97 if (glu::isDataTypeBoolOrBVec(output->varType.getBasicType())) in generateVertexShader()
99 const int vecSize = glu::getDataTypeScalarSize(output->varType.getBasicType()); in generateVertexShader()
118 if (glu::isDataTypeBoolOrBVec(output->varType.getBasicType())) in generateVertexShader()
134 if (glu::isDataTypeBoolOrBVec(output->varType.getBasicType())) in generateVertexShader()
136 const int vecSize = glu::getDataTypeScalarSize(output->varType.getBasicType()); in generateVertexShader()
172 if (glu::isDataTypeBoolOrBVec(output->varType.getBasicType())) in generateGeometryShader()
174 const int vecSize = glu::getDataTypeScalarSize(output->varType.getBasicType()); in generateGeometryShader()
196 if (glu::isDataTypeBoolOrBVec(output->varType.getBasicType())) in generateGeometryShader()
214 if (glu::isDataTypeBoolOrBVec(output->varType.getBasicType())) in generateGeometryShader()
216 const int vecSize = glu::getDataTypeScalarSize(output->varType.getBasicType()); in generateGeometryShader()
[all …]
/external/deqp/framework/opengl/
DgluVarTypeUtil.hpp189 …nst VarType& type) const { return type.isBasicType() && isDataTypeScalar(type.getBasicType()); } }; in operator ()()
190 …ype& type) const { return type.isBasicType() && isDataTypeScalarOrVector(type.getBasicType()); } }; in operator ()()
247 DE_ASSERT(isDataTypeMatrix(parentType.getBasicType())); in removeTraversed()
248 if (curComp.index+1 < getDataTypeMatrixNumColumns(parentType.getBasicType())) in removeTraversed()
253 DE_ASSERT(isDataTypeVector(parentType.getBasicType())); in removeTraversed()
254 if (curComp.index+1 < getDataTypeScalarSize(parentType.getBasicType())) in removeTraversed()
294 DataType basicType = curType.getBasicType(); in findNext()
349 DataType basicType = curType->getBasicType(); in isValidTypePath()
396 DataType basicType = curType->getBasicType(); in getVarType()
DgluVarTypeUtil.cpp140 else if (curType.isBasicType() && isDataTypeMatrix(curType.getBasicType())) in parseTypePath()
142 TCU_CHECK(de::inBounds(ndx, 0, getDataTypeMatrixNumColumns(curType.getBasicType()))); in parseTypePath()
145 else if (curType.isBasicType() && isDataTypeVector(curType.getBasicType())) in parseTypePath()
147 TCU_CHECK(de::inBounds(ndx, 0, getDataTypeScalarSize(curType.getBasicType()))); in parseTypePath()
/external/dexmaker/src/dx/java/com/android/dx/rop/cst/
DTypedConstant.java36 public final int getBasicType() { in getBasicType() method in TypedConstant
37 return getType().getBasicType(); in getBasicType()
DZeroes.java39 switch (type.getBasicType()) { in zeroFor()
/external/deqp/modules/gles3/functional/
Des3fShaderCommonFunctionTests.cpp294 const glu::DataType basicType = varValue.type.getBasicType(); in operator <<()
446 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
458 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
528 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
551 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
628 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
658 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
740 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
749 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in compare()
803 const glu::DataType type = m_spec.inputs[0].varType.getBasicType(); in getInputValues()
[all …]
/external/dexmaker/src/dx/java/com/android/dx/ssa/
DPhiTypeResolver.java74 && (definsn.getResult().getBasicType() == Type.BT_VOID)) { in run()
140 if (rs.getBasicType() != Type.BT_VOID) { in resolveResultType()
162 if (rs.getBasicType() == Type.BT_VOID){ in resolveResultType()
/external/chromium_org/third_party/angle/src/compiler/translator/timing/
DRestrictVertexShaderTiming.cpp11 if (IsSampler(node->getBasicType())) { in visitSymbol()
/external/dexmaker/src/dx/java/com/android/dx/rop/type/
DTypeBearer.java50 public int getBasicType(); in getBasicType() method
/external/dexmaker/src/dx/java/com/android/dx/dex/code/
DRopToDop.java502 switch (resultReg.getBasicType()) { in dopFor()
525 int basicType = ref.getBasicType(); in dopFor()
538 int basicType = ref.getBasicType(); in dopFor()
551 int basicType = ref.getBasicType(); in dopFor()
564 int basicType = ref.getBasicType(); in dopFor()
/external/chromium_org/third_party/angle/src/compiler/translator/depgraph/
DDependencyGraph.cpp60 if (IsSampler(intermSymbol->getBasicType())) in getOrCreateSymbol()
/external/dexmaker/src/dx/java/com/android/dx/rop/code/
DRegisterSpec.java307 public final int getBasicType() { in getBasicType() method in RegisterSpec
308 return type.getBasicType(); in getBasicType()

123