Home
last modified time | relevance | path

Searched refs:vecType (Results 1 – 24 of 24) sorted by relevance

/external/deqp/modules/gles31/functional/
Des31fShaderFramebufferFetchTests.cpp373 const string vecType = getColorOutputType(m_texFmt); in genShaderSources() local
378 << "layout(location = 0) inout highp " << vecType << " o_color;\n" in genShaderSources()
379 << "uniform highp " << vecType << " u_color;\n" in genShaderSources()
720 const string vecType = getColorOutputType(m_texFmt); in genShaderSources() local
725 << "layout(location = 0) inout highp " << vecType << " o_color0;\n" in genShaderSources()
726 << "layout(location = 1) inout highp " << vecType << " o_color1;\n" in genShaderSources()
727 << "layout(location = 2) inout highp " << vecType << " o_color2;\n" in genShaderSources()
728 << "layout(location = 3) inout highp " << vecType << " o_color3;\n" in genShaderSources()
729 << "uniform highp " << vecType << " u_color;\n" in genShaderSources()
792 const string vecType = getColorOutputType(m_texFmt); in genShaderSources() local
[all …]
Des31fSSBOLayoutCase.cpp637 const glu::DataType vecType = glu::getDataTypeFloatVec(vecSize); in computeReferenceLayout() local
638 const int vecBaseAlign = getDataTypeByteAlignment(vecType); in computeReferenceLayout()
/external/deqp/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmCompositeInsertTests.cpp150 const string vecType = string("%v") + de::toString(elements) + "f32"; in addComputeVectorCompositeInsertTests() local
168 " %Output = OpTypeStruct " + vecType + "\n" in addComputeVectorCompositeInsertTests()
171 " %_ptr_Function_vec = OpTypePointer Function " + vecType + "\n" in addComputeVectorCompositeInsertTests()
172 " %_ptr_Uniform_vec = OpTypePointer Uniform " + vecType + "\n" in addComputeVectorCompositeInsertTests()
220 const string vecType = string("%v") + de::toString(elements) + "f32"; in addGraphicsVectorCompositeInsertTests() local
231 " %Output = OpTypeStruct " + vecType + "\n" in addGraphicsVectorCompositeInsertTests()
236 " %_ptr_Uniform_vec = OpTypePointer Uniform " + vecType + "\n" in addGraphicsVectorCompositeInsertTests()
/external/deqp/modules/glshared/
DglsRandomShaderCase.cpp411 const char* vecType = DE_NULL; in operator <<() local
415 case rsg::VariableType::TYPE_FLOAT: scalarType = "float"; vecType = "vec"; break; in operator <<()
416 case rsg::VariableType::TYPE_INT: scalarType = "int"; vecType = "ivec"; break; in operator <<()
417 case rsg::VariableType::TYPE_BOOL: scalarType = "bool"; vecType = "bvec"; break; in operator <<()
428 message << vecType << numElements << "("; in operator <<()
DglsShaderExecUtil.cpp940 …const glu::DataType vecType = glu::getDataTypeFloatVec(glu::getDataTypeMatrixNumRows(basicType)… in computeVarLayout() local
941 const deUint32 vecAlignment = getVecStd430ByteAlignment(vecType); in computeVarLayout()
/external/clang/lib/Sema/
DSemaExprMember.cpp299 const ExtVectorType *vecType = baseType->getAs<ExtVectorType>(); in CheckExtVectorComponent() local
324 (Idx = vecType->getPointAccessorIdx(*compStr)) != -1) { in CheckExtVectorComponent()
333 } while (*compStr && (Idx = vecType->getPointAccessorIdx(*compStr)) != -1); in CheckExtVectorComponent()
346 while ((Idx = vecType->getNumericAccessorIdx(*compStr)) != -1) { in CheckExtVectorComponent()
370 if (!vecType->isAccessorWithinNumElements(*compStr++, HexSwizzle)) { in CheckExtVectorComponent()
383 unsigned CompSize = HalvingSwizzle ? (vecType->getNumElements() + 1) / 2 in CheckExtVectorComponent()
389 return vecType->getElementType(); in CheckExtVectorComponent()
393 QualType VT = S.Context.getExtVectorType(vecType->getElementType(), CompSize); in CheckExtVectorComponent()
DSemaExpr.cpp5790 if (const VectorType *vecType = type->getAs<VectorType>()) { in breakDownVectorType() local
5791 len = vecType->getNumElements(); in breakDownVectorType()
5792 eltType = vecType->getElementType(); in breakDownVectorType()
/external/deqp/modules/gles2/functional/
Des2fShaderMatrixTests.cpp1181 DataType vecType = getDataTypeFloatVec(getDataTypeMatrixNumColumns(matType)); in init() local
1182 ShaderInput vecIn (op == OP_DIV ? INPUTTYPE_UNIFORM : INPUTTYPE_DYNAMIC, vecType, precision); in init()
1184 …opGroup->addChild(new ShaderMatrixCase(m_context, (baseName + getDataTypeName(vecType) + "_vertex"… in init()
1185 …opGroup->addChild(new ShaderMatrixCase(m_context, (baseName + getDataTypeName(vecType) + "_fragmen… in init()
1188 …ing(inTypeList[inTypeNdx].name) + "_" + precName + "_" + getDataTypeName(vecType) + "_" + matTypeN… in init()
Des2fShaderIndexingTests.cpp842 DataType vecType = getDataTypeFloatVec(matSize); in createMatrixSubscriptCase() local
963 params.insert(pair<string, string>("VEC_TYPE", getDataTypeName(vecType))); in createMatrixSubscriptCase()
/external/llvm/lib/Target/NVPTX/
DNVPTXISelDAGToDAG.cpp705 unsigned vecType = NVPTX::PTXLdStInstCode::Scalar; in tryLoad() local
709 vecType = NVPTX::PTXLdStInstCode::V2; in tryLoad()
711 vecType = NVPTX::PTXLdStInstCode::V4; in tryLoad()
765 getI32Imm(vecType, dl), getI32Imm(fromType, dl), in tryLoad()
793 getI32Imm(vecType, dl), getI32Imm(fromType, dl), in tryLoad()
846 getI32Imm(vecType, dl), getI32Imm(fromType, dl), in tryLoad()
898 getI32Imm(vecType, dl), getI32Imm(fromType, dl), in tryLoad()
2144 unsigned vecType = NVPTX::PTXLdStInstCode::Scalar; in tryStore() local
2148 vecType = NVPTX::PTXLdStInstCode::V2; in tryStore()
2150 vecType = NVPTX::PTXLdStInstCode::V4; in tryStore()
[all …]
/external/clang/lib/AST/
DType.cpp172 VectorType::VectorType(QualType vecType, unsigned nElements, QualType canonType, in VectorType() argument
174 : VectorType(Vector, vecType, nElements, canonType, vecKind) {} in VectorType()
176 VectorType::VectorType(TypeClass tc, QualType vecType, unsigned nElements, in VectorType() argument
178 : Type(tc, canonType, vecType->isDependentType(), in VectorType()
179 vecType->isInstantiationDependentType(), in VectorType()
180 vecType->isVariablyModifiedType(), in VectorType()
181 vecType->containsUnexpandedParameterPack()), in VectorType()
182 ElementType(vecType) in VectorType()
DASTContext.cpp2885 QualType ASTContext::getVectorType(QualType vecType, unsigned NumElts, in getVectorType() argument
2887 assert(vecType->isBuiltinType()); in getVectorType()
2891 VectorType::Profile(ID, vecType, NumElts, Type::Vector, VecKind); in getVectorType()
2900 if (!vecType.isCanonical()) { in getVectorType()
2901 Canonical = getVectorType(getCanonicalType(vecType), NumElts, VecKind); in getVectorType()
2908 VectorType(vecType, NumElts, Canonical, VecKind); in getVectorType()
2917 ASTContext::getExtVectorType(QualType vecType, unsigned NumElts) const { in getExtVectorType() argument
2918 assert(vecType->isBuiltinType() || vecType->isDependentType()); in getExtVectorType()
2922 VectorType::Profile(ID, vecType, NumElts, Type::ExtVector, in getExtVectorType()
2931 if (!vecType.isCanonical()) { in getExtVectorType()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/NVPTX/
DNVPTXISelDAGToDAG.cpp892 unsigned vecType = NVPTX::PTXLdStInstCode::Scalar; in tryLoad() local
924 getI32Imm(vecType, dl), getI32Imm(fromType, dl), in tryLoad()
937 getI32Imm(vecType, dl), getI32Imm(fromType, dl), in tryLoad()
956 getI32Imm(vecType, dl), getI32Imm(fromType, dl), in tryLoad()
975 getI32Imm(vecType, dl), getI32Imm(fromType, dl), in tryLoad()
1747 unsigned vecType = NVPTX::PTXLdStInstCode::Scalar; in tryStore() local
1788 getI32Imm(vecType, dl), in tryStore()
1806 getI32Imm(vecType, dl), in tryStore()
1832 getI32Imm(vecType, dl), in tryStore()
1856 getI32Imm(vecType, dl), in tryStore()
/external/deqp/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutCase.cpp508 const glu::DataType vecType = glu::getDataTypeFloatVec(vecSize); in computeReferenceLayout() local
511 …const int vecStride = (layoutFlags & LAYOUT_SCALAR) ? getDataTypeByteSize(vecType) : baseAlignme… in computeReferenceLayout()
565 const glu::DataType vecType = glu::getDataTypeFloatVec(vecSize); in computeReferenceLayout() local
568 …const int vecStride = (layoutFlags & LAYOUT_SCALAR) ? getDataTypeByteSize(vecType) : baseAlig… in computeReferenceLayout()
662 const glu::DataType vecType = glu::getDataTypeFloatVec(vecSize); in computeReferenceLayout() local
663 const int vecBaseAlign = getDataTypeByteAlignment(vecType); in computeReferenceLayout()
664 const int stride = (blockLayoutFlags & LAYOUT_SCALAR) ? getDataTypeByteSize(vecType) : in computeReferenceLayout()
/external/deqp/external/vulkancts/modules/vulkan/
DvktShaderLibrary.cpp628 …const DataType vecType = isMatrix ? glu::getDataTypeFloatVec(getDataTypeMatrixNumRows(basicType))… in computeStd140Layout() local
629 const int vecSize = getDataTypeScalarSize(vecType); in computeStd140Layout()
650 …const DataType vecType = isDataTypeMatrix(basicType) ? glu::getDataTypeFloatVec(getDataTypeMatrix… in computeStd430Layout() local
651 const int vecSize = getDataTypeScalarSize(vecType); in computeStd430Layout()
/external/deqp/modules/gles3/functional/
Des3fShaderIndexingTests.cpp812 DataType vecType = getDataTypeFloatVec(numRows); in createMatrixSubscriptCase() local
937 params.insert(pair<string, string>("VEC_TYPE", getDataTypeName(vecType))); in createMatrixSubscriptCase()
/external/skia/src/sksl/
DSkSLSPIRVCodeGenerator.cpp2051 const Type& vecType = leftType; in writeBinaryExpression() local
2052 this->writeOpCode(SpvOpCompositeConstruct, 3 + vecType.columns(), out); in writeBinaryExpression()
2053 this->writeWord(this->getType(vecType), out); in writeBinaryExpression()
2055 for (int i = 0; i < vecType.columns(); i++) { in writeBinaryExpression()
2069 const Type& vecType = rightType; in writeBinaryExpression() local
2070 this->writeOpCode(SpvOpCompositeConstruct, 3 + vecType.columns(), out); in writeBinaryExpression()
2071 this->writeWord(this->getType(vecType), out); in writeBinaryExpression()
2073 for (int i = 0; i < vecType.columns(); i++) { in writeBinaryExpression()
/external/skqp/src/sksl/
DSkSLSPIRVCodeGenerator.cpp1988 const Type& vecType = b.fLeft->fType; in writeBinaryExpression() local
1989 this->writeOpCode(SpvOpCompositeConstruct, 3 + vecType.columns(), out); in writeBinaryExpression()
1990 this->writeWord(this->getType(vecType), out); in writeBinaryExpression()
1992 for (int i = 0; i < vecType.columns(); i++) { in writeBinaryExpression()
2001 const Type& vecType = b.fRight->fType; in writeBinaryExpression() local
2002 this->writeOpCode(SpvOpCompositeConstruct, 3 + vecType.columns(), out); in writeBinaryExpression()
2003 this->writeWord(this->getType(vecType), out); in writeBinaryExpression()
2005 for (int i = 0; i < vecType.columns(); i++) { in writeBinaryExpression()
/external/deqp/external/openglcts/modules/common/
DglcShaderIndexingTests.cpp932 DataType vecType = getDataTypeFloatVec(numRows); in createMatrixSubscriptCase() local
1072 params.insert(pair<string, string>("VEC_TYPE", getDataTypeName(vecType))); in createMatrixSubscriptCase()
/external/deqp/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderIndexingTests.cpp891 DataType vecType = getDataTypeFloatVec(numRows); in createMatrixSubscriptCase() local
1015 params.insert(pair<string, string>("VEC_TYPE", getDataTypeName(vecType))); in createMatrixSubscriptCase()
/external/deqp/external/vulkancts/modules/vulkan/ubo/
DvktUniformBlockCase.cpp595 const glu::DataType vecType = glu::getDataTypeFloatVec(vecSize); in computeReferenceLayout() local
598 …const int vecStride = (layoutFlags & LAYOUT_SCALAR) ? getDataTypeByteSize(vecType) : baseAlignme… in computeReferenceLayout()
652 const glu::DataType vecType = glu::getDataTypeFloatVec(vecSize); in computeReferenceLayout() local
655 …const int vecStride = (layoutFlags & LAYOUT_SCALAR) ? getDataTypeByteSize(vecType) : baseAlig… in computeReferenceLayout()
/external/clang/include/clang/AST/
DType.h2770 VectorType(QualType vecType, unsigned nElements, QualType canonType,
2773 VectorType(TypeClass tc, QualType vecType, unsigned nElements,
2818 ExtVectorType(QualType vecType, unsigned nElements, QualType canonType) :
2819 VectorType(ExtVector, vecType, nElements, canonType, GenericVector) {}
/external/deqp/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderExecutor.cpp1618 …const glu::DataType vecType = glu::getDataTypeFloatVec(glu::getDataTypeMatrixNumRows(basicType)… in computeVarLayout() local
1619 …eFloat16OrVec(basicType) ? getVecStd430ByteAlignment(vecType)/2 : getVecStd430ByteAlignment(vecTyp… in computeVarLayout()
/external/deqp-deps/glslang/SPIRV/
DGlslangToSpv.cpp5019 spv::Id vecType = builder.makeVectorType(scalarType, numRows); local
5023 smearVec = builder.smearScalar(decorations.precision, left, vecType);
5025 smearVec = builder.smearScalar(decorations.precision, right, vecType);
5031 … spv::Id leftVec = leftMat ? builder.createCompositeExtract( left, vecType, indexes) : smearVec;
5032 … spv::Id rightVec = rightMat ? builder.createCompositeExtract(right, vecType, indexes) : smearVec;
5033 spv::Id result = builder.createBinOp(op, vecType, leftVec, rightVec);