/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fDefaultVertexAttributeTests.cpp | 327 const char* const vectorType = glu::getDataTypeName((glu::isDataTypeMatrix(m_dataType)) ? (glu::getDataTypeVector(glu::TYPE_FLOAT, vectorSize)) : (glu::isDataTypeVector(m_dataType)) ? (glu::getDataTypeVector(glu::TYPE_FLOAT, vectorSize)) : (glu::TYPE_FLOAT)); in genVertexSource() local 340 buf << " highp " << vectorType << " normalizedValue = " << ((glu::getDataTypeScalarType(m_dataType) == glu::TYPE_FLOAT) ? ("") : (vectorType)) << "(a_value" << ((glu::isDataTypeMatrix(m_dataType)) ? ("[1]") : ("")) << ");\n"; in genVertexSource() 342 buf << " highp " << vectorType << " normalizedValue = " << ((glu::getDataTypeScalarType(m_dataType) == glu::TYPE_FLOAT) ? ("") : (vectorType)) << "(a_value" << ((glu::isDataTypeMatrix(m_dataType)) ? ("[1]") : ("")) << ") / float(" << s_valueRange << ");\n"; in genVertexSource() 345 buf << " highp " << vectorType << " positiveNormalizedValue = (normalizedValue + " << vectorType << "(1.0)) / 2.0;\n"; in genVertexSource() local 347 buf << " highp " << vectorType << " positiveNormalizedValue = normalizedValue;\n"; in genVertexSource() local
|
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fDefaultVertexAttributeTests.cpp | 403 const char* const vectorType = glu::getDataTypeName((glu::isDataTypeMatrix(m_dataType)) ? (glu::getDataTypeVector(glu::TYPE_FLOAT, vectorSize)) : (glu::isDataTypeVector(m_dataType)) ? (glu::getDataTypeVector(glu::TYPE_FLOAT, vectorSize)) : (glu::TYPE_FLOAT)); in genVertexSource() local 417 buf << " highp " << vectorType << " normalizedValue = " << ((glu::getDataTypeScalarType(m_dataType) == glu::TYPE_FLOAT) ? ("") : (vectorType)) << "(a_value" << ((glu::isDataTypeMatrix(m_dataType)) ? ("[1]") : ("")) << ");\n"; in genVertexSource() 419 buf << " highp " << vectorType << " normalizedValue = " << ((glu::getDataTypeScalarType(m_dataType) == glu::TYPE_FLOAT) ? ("") : (vectorType)) << "(a_value" << ((glu::isDataTypeMatrix(m_dataType)) ? ("[1]") : ("")) << ") / float(" << s_valueRange << ");\n"; in genVertexSource() 422 buf << " highp " << vectorType << " positiveNormalizedValue = (normalizedValue + " << vectorType << "(1.0)) / 2.0;\n"; in genVertexSource() local 424 buf << " highp " << vectorType << " positiveNormalizedValue = normalizedValue;\n"; in genVertexSource() local
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ray_tracing/ |
H A D | vktRayTracingDataSpillTests.cpp | 131 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 in DataSpillTestCase() 1476 fillInputBuffer(DataType dataType, VectorType vectorType, void* bufferPtr) fillInputBuffer() argument 2736 VectorType vectorType; createDataSpillTests() member [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/ray_tracing/ |
H A D | vktRayTracingDataSpillTests.cpp | 131 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 in DataSpillTestCase() 1476 fillInputBuffer(DataType dataType, VectorType vectorType, void* bufferPtr) fillInputBuffer() argument 2735 VectorType vectorType; createDataSpillTests() member [all...] |
/third_party/icu/icu4c/source/common/ |
H A D | utrace.cpp | 282 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/node/deps/icu-small/source/common/ |
H A D | utrace.cpp | 282 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/ |
H A D | utrace.cpp | 282 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/ |
H A D | SkSLConstructor.cpp | 100 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/ |
H A D | AstHelpers.cpp | 340 TType &vectorType = *new TType(matrixType); 341 vectorType.toMatrixColumnType(); 342 return vectorType;
|
/third_party/skia/third_party/externals/swiftshader/src/Reactor/ |
H A D | Nucleus.hpp | 331 static Type *getContainedType(Type *vectorType);
|
H A D | LLVMReactor.cpp | 1709 Type *Nucleus::getContainedType(Type *vectorType) in getContainedType() argument 1711 return T(T(vectorType)->getContainedType(0)); in getContainedType()
|
H A D | SubzeroReactor.cpp | 1970 Type *Nucleus::getContainedType(Type *vectorType) 1972 Ice::Type vecTy = T(vectorType);
|
/third_party/glslang/SPIRV/ |
H A D | SpvBuilder.cpp | 974 Id Builder::makeMatrixDebugType(Id const vectorType, int const vectorCount, bool columnMajor) in makeMatrixDebugType() argument 980 if (type->getIdOperand(0) == vectorType && in makeMatrixDebugType() 989 type->addIdOperand(debugId[vectorType]); // vector type id in makeMatrixDebugType() 2835 Id Builder::smearScalar(Decoration precision, Id scalar, Id vectorType) in smearScalar() argument 2838 assert(getTypeId(scalar) == getScalarTypeId(vectorType)); in smearScalar() 2840 int numComponents = getNumTypeComponents(vectorType); in smearScalar() 2855 auto result_id = makeCompositeConstant(vectorType, members, isSpecConstant(scalar)); in smearScalar() 2858 smear = new Instruction(getUniqueId(), vectorType, OpCompositeConstruct); in smearScalar()
|
H A D | SpvBuilder.h | 225 Id makeMatrixDebugType(Id const vectorType, int const vectorCount, bool columnMajor = true); 537 // vectorType should be the correct type for making a vector of scalarVal. 539 Id smearScalar(Decoration precision, Id scalarVal, Id vectorType);
|
H A D | GlslangToSpv.cpp | 9802 glslang::TType vectorType(glslangType, 0); in createSpvConstantFromConstUnionArray() 9804 spvConsts.push_back(createSpvConstantFromConstUnionArray(vectorType, consts, nextConst, false)); in createSpvConstantFromConstUnionArray()
|
/third_party/skia/third_party/externals/angle2/src/compiler/translator/ |
H A D | OutputSPIRV.cpp | 4449 TType vectorType(type); in extendScalarParamsToVector() 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/ |
H A D | hlslParseHelper.cpp | 970 TType vectorType(base->getBasicType(), EvqTemporary, selectors.size()); in handleDotDereference() 971 return addConstructor(loc, addConstructor(loc, base, scalarType), vectorType); in handleDotDereference() 3255 TType vectorType(matrix->getBasicType(), EvqTemporary, matrix->getQualifier().precision, (int)swizzle.size()/2); in handleAssignToMatrixSwizzle() 3256 vector = intermediate.addSymbol(*makeInternalVariable("intermVec", vectorType), loc); in handleAssignToMatrixSwizzle() 8343 TType vectorType(type, 0); // dereferenced type in convertInitializerList() 8345 initList->getSequence()[i] = convertInitializerList(loc, vectorType, in convertInitializerList()
|
/third_party/skia/src/sksl/codegen/ |
H A D | SkSLSPIRVCodeGenerator.cpp | 2315 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/ |
H A D | ParseHelper.cpp | 8165 TType vectorType(type, 0); // dereferenced type in convertInitializerList() 8167 initList->getSequence()[i] = convertInitializerList(loc, vectorType, initList->getSequence()[i]->getAsTyped()); in convertInitializerList()
|