Home
last modified time | relevance | path

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

/third_party/vk-gl-cts/modules/gles2/functional/
Des2fDefaultVertexAttributeTests.cpp327 …const char* const vectorType = glu::getDataTypeName((glu::isDataTypeMatrix(m_dataType)) ? (glu::ge… in genVertexSource() local
340 …<< " highp " << vectorType << " normalizedValue = " << ((glu::getDataTypeScalarType(m_dataType) ==… in genVertexSource()
342 …<< " highp " << vectorType << " normalizedValue = " << ((glu::getDataTypeScalarType(m_dataType) ==… in genVertexSource()
345 …buf << " highp " << vectorType << " positiveNormalizedValue = (normalizedValue + " << vectorType <… in genVertexSource()
347 buf << " highp " << vectorType << " positiveNormalizedValue = normalizedValue;\n"; in genVertexSource()
/third_party/flutter/skia/third_party/externals/angle2/src/compiler/translator/tree_ops/
DVectorizeVectorScalarArithmetic.cpp52 TType vectorType,
61 TType vectorType, in Vectorize() argument
65 vectorType.setQualifier(EvqTemporary); in Vectorize()
69 TIntermAggregate::CreateConstructor(vectorType, &vectorConstructorArgs); in Vectorize()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fDefaultVertexAttributeTests.cpp403 …const char* const vectorType = glu::getDataTypeName((glu::isDataTypeMatrix(m_dataType)) ? (glu::ge… in genVertexSource() local
417 …<< " highp " << vectorType << " normalizedValue = " << ((glu::getDataTypeScalarType(m_dataType) ==… in genVertexSource()
419 …<< " highp " << vectorType << " normalizedValue = " << ((glu::getDataTypeScalarType(m_dataType) ==… in genVertexSource()
422 …buf << " highp " << vectorType << " positiveNormalizedValue = (normalizedValue + " << vectorType <… in genVertexSource()
424 buf << " highp " << vectorType << " positiveNormalizedValue = normalizedValue;\n"; in genVertexSource()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/
DvktRayTracingDataSpillTests.cpp131 size_t getEffectiveVectorLength (VectorType vectorType) in getEffectiveVectorLength() argument
133 return ((vectorType == VectorType::V3) ? static_cast<size_t>(4) : static_cast<size_t>(vectorType)); in getEffectiveVectorLength()
137 VkDeviceSize getElementSize(DataType dataType, VectorType vectorType) in getElementSize() argument
139 const size_t length = getEffectiveVectorLength(vectorType); in getElementSize()
245 std::pair<std::string, std::string> getGLSLInputValDecl (DataType dataType, VectorType vectorType) in getGLSLInputValDecl() argument
315 const auto key = std::make_pair(dataType, vectorType); in getGLSLInputValDecl()
321 …const std::string decl = baseType + " " + varName + ((vectorType == VectorType::A5) ? "[5]" : "") … in getGLSLInputValDecl()
354 VectorType vectorType; member
399 DE_ASSERT(m_params.vectorType == VectorType::SCALAR); in DataSpillTestCase()
624 const int numComponents = static_cast<int>(m_params.vectorType); in initPrograms()
[all …]
/third_party/flutter/skia/third_party/externals/icu/source/common/
Dutrace.cpp283 char vectorType; in utrace_vformat() local
293 vectorType = fmt[fmtIx]; /* b, h, d, l, p, etc. */ in utrace_vformat()
294 if (vectorType != 0) { in utrace_vformat()
307 switch (vectorType) { in utrace_vformat()
/third_party/flatbuffers/ts/flexbuffers/
Dbuilder.ts343 let vectorType = ValueType.KEY; variable
351 vectorType = this.stack[i].type;
352 typed = typed && isTypedVectorElement(vectorType);
354 if (vectorType !== this.stack[i].type) {
360 const fix = typed && isNumber(vectorType) && vecLength >= 2 && vecLength <= 4;
381 const vType = toTypedVector(vectorType, fix ? vecLength : 0);
/third_party/flatbuffers/java/com/google/flatbuffers/
DFlexBuffersBuilder.java515 int vectorType = FBT_KEY; in createVector() local
522 vectorType = stack.get(i).type; in createVector()
523 if (!FlexBuffers.isTypedVectorElementType(vectorType)) { in createVector()
529 assert (vectorType == stack.get(i).type); in createVector()
535 assert (!fixed || FlexBuffers.isTypedVectorElementType(vectorType)); in createVector()
558 : (typed ? FlexBuffers.toTypedVector(vectorType, fixed ? length : 0) in createVector()
/third_party/node/deps/icu-small/source/common/
Dutrace.cpp282 char vectorType; in utrace_vformat() local
292 vectorType = fmt[fmtIx]; /* b, h, d, l, p, etc. */ in utrace_vformat()
293 if (vectorType != 0) { in utrace_vformat()
306 switch (vectorType) { in utrace_vformat()
/third_party/skia/third_party/externals/icu/source/common/
Dutrace.cpp282 char vectorType; in utrace_vformat() local
292 vectorType = fmt[fmtIx]; /* b, h, d, l, p, etc. */ in utrace_vformat()
293 if (vectorType != 0) { in utrace_vformat()
306 switch (vectorType) { in utrace_vformat()
/third_party/icu/icu4c/source/common/
Dutrace.cpp282 char vectorType; in utrace_vformat() local
292 vectorType = fmt[fmtIx]; /* b, h, d, l, p, etc. */ in utrace_vformat()
293 if (vectorType != 0) { in utrace_vformat()
306 switch (vectorType) { in utrace_vformat()
/third_party/skia/src/sksl/ir/
DSkSLConstructor.cpp100 const Type& vectorType = argument->type().componentType().toCompound(context, in convert_compound_constructor() local
104 ConstructorCompound::Make(context, line, vectorType, std::move(args)); in convert_compound_constructor()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/TranslatorMetalDirect/
DAstHelpers.cpp340 TType &vectorType = *new TType(matrixType); in DropColumns() local
341 vectorType.toMatrixColumnType(); in DropColumns()
342 return vectorType; in DropColumns()
/third_party/flatbuffers/dart/lib/src/
Dbuilder.dart313 var vectorType = ValueType.Key;
321 vectorType = _stack[i].type;
322 typed &= ValueTypeUtils.isTypedVectorElement(vectorType);
324 if (vectorType != _stack[i].type) {
330 final fix = typed & ValueTypeUtils.isNumber(vectorType) && vecLength >= 2 && vecLength <= 4;
351 final vType = ValueTypeUtils.toTypedVector(vectorType, fix ? vecLength : 0);
/third_party/flatbuffers/src/
Didl_gen_ts.cpp1307 auto vectorType = field.value.type.VectorType(); in GenStruct() local
1308 if (IsScalar(vectorType.base_type) && !IsLong(vectorType.base_type)) { in GenStruct()
1312 code += "Array():" + GenType(vectorType) + "Array|null {\n" + in GenStruct()
1315 code += "new " + GenType(vectorType) + "Array(" + GenBBAccess() + in GenStruct()
/third_party/skia/third_party/externals/swiftshader/src/Reactor/
DNucleus.hpp331 static Type *getContainedType(Type *vectorType);
DSubzeroReactor.cpp1970 Type *Nucleus::getContainedType(Type *vectorType) in getContainedType() argument
1972 Ice::Type vecTy = T(vectorType); in getContainedType()
DLLVMReactor.cpp1709 Type *Nucleus::getContainedType(Type *vectorType) in getContainedType() argument
1711 return T(T(vectorType)->getContainedType(0)); in getContainedType()
/third_party/glslang/SPIRV/
DSpvBuilder.cpp1917 Id Builder::smearScalar(Decoration precision, Id scalar, Id vectorType) in smearScalar() argument
1920 assert(getTypeId(scalar) == getScalarTypeId(vectorType)); in smearScalar()
1922 int numComponents = getNumTypeComponents(vectorType); in smearScalar()
1937 auto result_id = makeCompositeConstant(vectorType, members, isSpecConstant(scalar)); in smearScalar()
1940 smear = new Instruction(getUniqueId(), vectorType, OpCompositeConstruct); in smearScalar()
DSpvBuilder.h449 Id smearScalar(Decoration precision, Id scalarVal, Id vectorType);
DGlslangToSpv.cpp8400 glslang::TType vectorType(glslangType, 0); in createSpvConstantFromConstUnionArray() local
8402 … spvConsts.push_back(createSpvConstantFromConstUnionArray(vectorType, consts, nextConst, false)); in createSpvConstantFromConstUnionArray()
/third_party/skia/third_party/externals/angle2/src/compiler/translator/
DOutputSPIRV.cpp4449 TType vectorType(type); in extendScalarParamsToVector() local
4450 if (vectorType.isMatrix()) in extendScalarParamsToVector()
4452 vectorType.toMatrixColumnType(); in extendScalarParamsToVector()
4455 childType, vectorType, resultTypeId, {{(*parameters)[childIndex]}}); in extendScalarParamsToVector()
4888 const TType &vectorType = node->getOperand()->getType(); in visitSwizzle() local
4889 const uint8_t vectorComponentCount = static_cast<uint8_t>(vectorType.getNominalSize()); in visitSwizzle()
4905 accessChainOnPush(&mNodeData.back(), vectorType, 0); in visitSwizzle()
/third_party/glslang/glslang/HLSL/
DhlslParseHelper.cpp970 TType vectorType(base->getBasicType(), EvqTemporary, selectors.size()); in handleDotDereference() local
971 return addConstructor(loc, addConstructor(loc, base, scalarType), vectorType); in handleDotDereference()
3162 …TType vectorType(matrix->getBasicType(), EvqTemporary, matrix->getQualifier().precision, (int)swiz… in handleAssignToMatrixSwizzle() local
3163 vector = intermediate.addSymbol(*makeInternalVariable("intermVec", vectorType), loc); in handleAssignToMatrixSwizzle()
8224 TType vectorType(type, 0); // dereferenced type in convertInitializerList() local
8226 initList->getSequence()[i] = convertInitializerList(loc, vectorType, in convertInitializerList()
/third_party/skia/src/sksl/codegen/
DSkSLSPIRVCodeGenerator.cpp2315 const Type& vectorType = matrixType.componentType().toCompound(fContext, in writeScalarToMatrixSplat() local
2319 SpvId vectorId = this->writeComposite(vecArguments, vectorType, out); in writeScalarToMatrixSplat()
/third_party/glslang/glslang/MachineIndependent/
DParseHelper.cpp6948 TType vectorType(type, 0); // dereferenced type in convertInitializerList() local
6950 …initList->getSequence()[i] = convertInitializerList(loc, vectorType, initList->getSequence()[i]->g… in convertInitializerList()