Home
last modified time | relevance | path

Searched refs:vecSize (Results 1 – 25 of 32) sorted by relevance

12

/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderexecutor/
DvktShaderCommonFunctionTests.cpp351 for (int vecSize = 1; vecSize <= 4; vecSize++) in addFunctionCases() local
355 …group->addChild(new TestClass(parent->getTestContext(), glu::DataType(scalarType + vecSize - 1), g… in addFunctionCases()
738 const int vecSize = glu::getDataTypeScalarSize(baseType); in IsnanCase() local
739 const glu::DataType boolType = vecSize > 1 ? glu::getDataTypeBoolVec(vecSize) : glu::TYPE_BOOL; in IsnanCase()
825 const int vecSize = glu::getDataTypeScalarSize(baseType); in IsinfCase() local
826 const glu::DataType boolType = vecSize > 1 ? glu::getDataTypeBoolVec(vecSize) : glu::TYPE_BOOL; in IsinfCase()
904 const int vecSize = glu::getDataTypeScalarSize(baseType); in FloatBitsToUintIntCase() local
905 …const glu::DataType intType = outIsSigned ? (vecSize > 1 ? glu::getDataTypeIntVec(vecSize) : glu:… in FloatBitsToUintIntCase()
906 : (vecSize > 1 ? glu::getDataTypeUintVec(vecSize) : glu::TYPE_UINT); in FloatBitsToUintIntCase()
988 const int vecSize = glu::getDataTypeScalarSize(baseType); in BitsToFloatCase() local
[all …]
DvktShaderExecutor.cpp227 const int vecSize = glu::getDataTypeScalarSize(output->varType.getBasicType()); in generateVertexShader() local
228 const glu::DataType intBaseType = vecSize > 1 ? glu::getDataTypeIntVec(vecSize) : glu::TYPE_INT; in generateVertexShader()
292 const int vecSize = glu::getDataTypeScalarSize(output->varType.getBasicType()); in generateVertexShader() local
293 … const glu::DataType intBaseType = vecSize > 1 ? glu::getDataTypeIntVec(vecSize) : glu::TYPE_INT; in generateVertexShader()
326 const int vecSize = glu::getDataTypeScalarSize(output.varType.getBasicType()); in generateFragShaderOutputDecl() local
327 …const glu::DataType uintBasicType = vecSize > 1 ? glu::getDataTypeUintVec(vecSize) : glu::TYPE_UIN… in generateFragShaderOutputDecl()
335 const int vecSize = glu::getDataTypeScalarSize(output.varType.getBasicType()); in generateFragShaderOutputDecl() local
336 const glu::DataType intBasicType = vecSize > 1 ? glu::getDataTypeIntVec(vecSize) : glu::TYPE_INT; in generateFragShaderOutputDecl()
344 const int vecSize = glu::getDataTypeMatrixNumRows(output.varType.getBasicType()); in generateFragShaderOutputDecl() local
346 const glu::DataType uintBasicType = glu::getDataTypeUintVec(vecSize); in generateFragShaderOutputDecl()
[all …]
DvktShaderIntegerFunctionTests.cpp239 for (int vecSize = 1; vecSize <= 4; vecSize++) in addFunctionCases() local
249 …group->addChild(new TestClass(parent->getTestContext(), glu::DataType(scalarType + vecSize - 1), g… in addFunctionCases()
1098 const int vecSize = glu::getDataTypeScalarSize(baseType); in BitCountCase() local
1099 const glu::DataType intType = vecSize == 1 ? glu::TYPE_INT : glu::getDataTypeIntVec(vecSize); in BitCountCase()
1162 const int vecSize = glu::getDataTypeScalarSize(baseType); in FindLSBCase() local
1163 const glu::DataType intType = vecSize == 1 ? glu::TYPE_INT : glu::getDataTypeIntVec(vecSize); in FindLSBCase()
1226 const int vecSize = glu::getDataTypeScalarSize(baseType); in findMSBCase() local
1227 const glu::DataType intType = vecSize == 1 ? glu::TYPE_INT : glu::getDataTypeIntVec(vecSize); in findMSBCase()
/third_party/vk-gl-cts/modules/glshared/
DglsShaderExecUtil.cpp119 const int vecSize = glu::getDataTypeScalarSize(output->varType.getBasicType()); in generateVertexShader() local
120 const glu::DataType intBaseType = vecSize > 1 ? glu::getDataTypeIntVec(vecSize) : glu::TYPE_INT; in generateVertexShader()
157 const int vecSize = glu::getDataTypeScalarSize(output->varType.getBasicType()); in generateVertexShader() local
158 const glu::DataType intBaseType = vecSize > 1 ? glu::getDataTypeIntVec(vecSize) : glu::TYPE_INT; in generateVertexShader()
198 const int vecSize = glu::getDataTypeScalarSize(output->varType.getBasicType()); in generateGeometryShader() local
199 const glu::DataType intBaseType = vecSize > 1 ? glu::getDataTypeIntVec(vecSize) : glu::TYPE_INT; in generateGeometryShader()
237 const int vecSize = glu::getDataTypeScalarSize(output->varType.getBasicType()); in generateGeometryShader() local
238 const glu::DataType intBaseType = vecSize > 1 ? glu::getDataTypeIntVec(vecSize) : glu::TYPE_INT; in generateGeometryShader()
313 const int vecSize = glu::getDataTypeScalarSize(output.varType.getBasicType()); in generateFragShaderOutputDecl() local
314 …const glu::DataType uintBasicType = vecSize > 1 ? glu::getDataTypeUintVec(vecSize) : glu::TYPE_UIN… in generateFragShaderOutputDecl()
[all …]
DglsUniformBlockCase.cpp420 int vecSize = isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) in computeStd140BaseAlignment() local
423 return getDataTypeArrayStride(glu::getDataTypeFloatVec(vecSize)); in computeStd140BaseAlignment()
484 int vecSize = isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) in computeStd140Layout() local
488 int stride = getDataTypeArrayStride(glu::getDataTypeFloatVec(vecSize)); in computeStd140Layout()
534 int vecSize = isRowMajor ? glu::getDataTypeMatrixNumColumns(elemBasicType) in computeStd140Layout() local
538 int stride = getDataTypeArrayStride(glu::getDataTypeFloatVec(vecSize)); in computeStd140Layout()
631 int vecSize = scalarSize / numVecs; in generateValue() local
645 for (int compNdx = 0; compNdx < vecSize; compNdx++) in generateValue()
1844 int vecSize = numComps*compSize; in checkLayoutBounds() local
1854 maxOffset = de::max(maxOffset, vecSize); in checkLayoutBounds()
[all …]
/third_party/googletest/googletest/src/hwext/
Dgtest-filter.cc94 vecSize.push_back(A); in postSetSize()
96 vecSize.push_back(B); in postSetSize()
98 vecSize.push_back(C); in postSetSize()
200 flags_size = IsElementInVector(vecSize, size); in accept()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fShaderDerivateTests.cpp1803 for (int vecSize = 1; vecSize <= 4; vecSize++) in init() local
1805 … const glu::DataType dataType = vecSize > 1 ? glu::getDataTypeFloatVec(vecSize) : glu::TYPE_FLOAT; in init()
1817 for (int vecSize = 1; vecSize <= 4; vecSize++) in init() local
1821 …const glu::DataType dataType = vecSize > 1 ? glu::getDataTypeFloatVec(vecSize) : glu::TYPE_FLOAT; in init()
1847 for (int vecSize = 1; vecSize <= 4; vecSize++) in init() local
1851 …const glu::DataType dataType = vecSize > 1 ? glu::getDataTypeFloatVec(vecSize) : glu::TYPE_FLOAT; in init()
1881 for (int vecSize = 1; vecSize <= 4; vecSize++) in init() local
1885 …const glu::DataType dataType = vecSize > 1 ? glu::getDataTypeFloatVec(vecSize) : glu::TYPE_FLOAT; in init()
1913 for (int vecSize = 1; vecSize <= 4; vecSize++) in init() local
1917 …const glu::DataType dataType = vecSize > 1 ? glu::getDataTypeFloatVec(vecSize) : glu::TYPE_FLOAT; in init()
Des3fShaderCommonFunctionTests.cpp755 const int vecSize = glu::getDataTypeScalarSize(baseType); in IsnanCase() local
756 const glu::DataType boolType = vecSize > 1 ? glu::getDataTypeBoolVec(vecSize) : glu::TYPE_BOOL; in IsnanCase()
836 const int vecSize = glu::getDataTypeScalarSize(baseType); in IsinfCase() local
837 const glu::DataType boolType = vecSize > 1 ? glu::getDataTypeBoolVec(vecSize) : glu::TYPE_BOOL; in IsinfCase()
915 const int vecSize = glu::getDataTypeScalarSize(baseType); in FloatBitsToUintIntCase() local
916 …const glu::DataType intType = outIsSigned ? (vecSize > 1 ? glu::getDataTypeIntVec(vecSize) : glu:… in FloatBitsToUintIntCase()
917 : (vecSize > 1 ? glu::getDataTypeUintVec(vecSize) : glu::TYPE_UINT); in FloatBitsToUintIntCase()
994 const int vecSize = glu::getDataTypeScalarSize(baseType); in BitsToFloatCase() local
995 const glu::DataType floatType = vecSize > 1 ? glu::getDataTypeFloatVec(vecSize) : glu::TYPE_FLOAT; in BitsToFloatCase()
1617 for (int vecSize = 1; vecSize <= 4; vecSize++) in addFunctionCases() local
[all …]
/third_party/vk-gl-cts/modules/gles31/functional/
Des31fShaderCommonFunctionTests.cpp830 const int vecSize = glu::getDataTypeScalarSize(baseType); in IsnanCase() local
831 const glu::DataType boolType = vecSize > 1 ? glu::getDataTypeBoolVec(vecSize) : glu::TYPE_BOOL; in IsnanCase()
913 const int vecSize = glu::getDataTypeScalarSize(baseType); in IsinfCase() local
914 const glu::DataType boolType = vecSize > 1 ? glu::getDataTypeBoolVec(vecSize) : glu::TYPE_BOOL; in IsinfCase()
995 const int vecSize = glu::getDataTypeScalarSize(baseType); in FloatBitsToUintIntCase() local
996 …const glu::DataType intType = outIsSigned ? (vecSize > 1 ? glu::getDataTypeIntVec(vecSize) : glu:… in FloatBitsToUintIntCase()
997 : (vecSize > 1 ? glu::getDataTypeUintVec(vecSize) : glu::TYPE_UINT); in FloatBitsToUintIntCase()
1074 const int vecSize = glu::getDataTypeScalarSize(baseType); in BitsToFloatCase() local
1075 const glu::DataType floatType = vecSize > 1 ? glu::getDataTypeFloatVec(vecSize) : glu::TYPE_FLOAT; in BitsToFloatCase()
1703 const int vecSize = glu::getDataTypeScalarSize(baseType); in FrexpCase() local
[all …]
Des31fShaderIntegerFunctionTests.cpp900 const int vecSize = glu::getDataTypeScalarSize(baseType); in BitCountCase() local
901 const glu::DataType intType = vecSize == 1 ? glu::TYPE_INT : glu::getDataTypeIntVec(vecSize); in BitCountCase()
960 const int vecSize = glu::getDataTypeScalarSize(baseType); in FindLSBCase() local
961 const glu::DataType intType = vecSize == 1 ? glu::TYPE_INT : glu::getDataTypeIntVec(vecSize); in FindLSBCase()
1020 const int vecSize = glu::getDataTypeScalarSize(baseType); in FindMSBCase() local
1021 const glu::DataType intType = vecSize == 1 ? glu::TYPE_INT : glu::getDataTypeIntVec(vecSize); in FindMSBCase()
1092 for (int vecSize = 1; vecSize <= 4; vecSize++) in addFunctionCases() local
1102 …group->addChild(new TestClass(parent->getContext(), glu::DataType(scalarType + vecSize - 1), glu::… in addFunctionCases()
Des31fSSBOLayoutCase.cpp377 const int vecSize = isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) in computeStd140BaseAlignment() local
379 …const int vecAlign = deAlign32(getDataTypeByteAlignment(glu::getDataTypeFloatVec(vecSize)), vec4Al… in computeStd140BaseAlignment()
418 const int vecSize = isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) in computeStd430BaseAlignment() local
420 const int vecAlign = getDataTypeByteAlignment(glu::getDataTypeFloatVec(vecSize)); in computeStd430BaseAlignment()
628 const int vecSize = isRowMajor ? glu::getDataTypeMatrixNumColumns(elemBasicType) in computeReferenceLayout() local
632 const glu::DataType vecType = glu::getDataTypeFloatVec(vecSize); in computeReferenceLayout()
736 const int vecSize = scalarSize / numVecs; in generateValue() local
755 for (int compNdx = 0; compNdx < vecSize; compNdx++) in generateValue()
2560 const int vecSize = numComps*compSize; in checkLayoutBounds() local
2570 maxOffset = de::max(maxOffset, vecSize); in checkLayoutBounds()
[all …]
/third_party/vk-gl-cts/framework/opengl/
DgluShaderUtil.cpp1023 DataType getDataTypeFloatVec (int vecSize) in getDataTypeFloatVec() argument
1025 return getDataTypeVector(TYPE_FLOAT, vecSize); in getDataTypeFloatVec()
1028 DataType getDataTypeIntVec (int vecSize) in getDataTypeIntVec() argument
1030 return getDataTypeVector(TYPE_INT, vecSize); in getDataTypeIntVec()
1033 DataType getDataTypeUintVec (int vecSize) in getDataTypeUintVec() argument
1035 return getDataTypeVector(TYPE_UINT, vecSize); in getDataTypeUintVec()
1038 DataType getDataTypeBoolVec (int vecSize) in getDataTypeBoolVec() argument
1040 return getDataTypeVector(TYPE_BOOL, vecSize); in getDataTypeBoolVec()
DgluShaderUtil.hpp268 DataType getDataTypeFloatVec (int vecSize);
269 DataType getDataTypeIntVec (int vecSize);
270 DataType getDataTypeUintVec (int vecSize);
271 DataType getDataTypeBoolVec (int vecSize);
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/shaderrender/
DvktShaderRenderDerivateTests.cpp1882 for (int vecSize = 1; vecSize <= 4; vecSize++) in init() local
1884 …const glu::DataType dataType = vecSize > 1 ? glu::getDataTypeFloatVec(vecSize) : glu::TYPE_FLOA… in init()
1897 for (int vecSize = 1; vecSize <= 4; vecSize++) in init() local
1901 …const glu::DataType dataType = vecSize > 1 ? glu::getDataTypeFloatVec(vecSize) : glu::TYPE_FLOAT; in init()
1927 for (int vecSize = 1; vecSize <= 4; vecSize++) in init() local
1931 …const glu::DataType dataType = vecSize > 1 ? glu::getDataTypeFloatVec(vecSize) : glu::TYPE_FLOAT; in init()
1957 for (int vecSize = 1; vecSize <= 4; vecSize++) in init() local
1961 …const glu::DataType dataType = vecSize > 1 ? glu::getDataTypeFloatVec(vecSize) : glu::TYPE_FLOAT; in init()
/third_party/vk-gl-cts/external/openglcts/modules/common/
DglcUniformBlockCase.cpp391 int vecSize = in computeStd140BaseAlignment() local
394 return getDataTypeArrayStride(glu::getDataTypeFloatVec(vecSize)); in computeStd140BaseAlignment()
456 int vecSize = in computeStd140Layout() local
460 int stride = getDataTypeArrayStride(glu::getDataTypeFloatVec(vecSize)); in computeStd140Layout()
506 int vecSize = isRowMajor ? glu::getDataTypeMatrixNumColumns(elemBasicType) : in computeStd140Layout() local
510 int stride = getDataTypeArrayStride(glu::getDataTypeFloatVec(vecSize)); in computeStd140Layout()
604 int vecSize = scalarSize / numVecs; in generateValue() local
618 for (int compNdx = 0; compNdx < vecSize; compNdx++) in generateValue()
1805 int vecSize = numComps * compSize; in checkLayoutBounds() local
1815 maxOffset = de::max(maxOffset, vecSize); in checkLayoutBounds()
[all …]
/third_party/googletest/googletest/include/gtest/hwext/
Dgtest-filter.h40 vector<int> vecSize; variable
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/transform_feedback/
DvktTransformFeedbackFuzzLayoutCase.cpp467 const int vecSize = scalarSize / numVecs; in createMask() local
481 for (int compNdx = 0; compNdx < vecSize; compNdx++) in createMask()
585 const int vecSize = glu::getDataTypeMatrixNumRows(basicType); in computeXfbLayout() local
588 const int stride = getDataTypeArrayStride(glu::getDataTypeVector(elemType, vecSize)); in computeXfbLayout()
589 … strideForLocation = getDataTypeArrayStrideForLocation(glu::getDataTypeVector(elemType, vecSize)); in computeXfbLayout()
645 const int vecSize = glu::getDataTypeMatrixNumRows(elemBasicType); in computeXfbLayout() local
647 const int stride = getDataTypeArrayStride(glu::getDataTypeVector(scalarType, vecSize)); in computeXfbLayout()
649 …trideForLocation = getDataTypeArrayStrideForLocation(glu::getDataTypeVector(scalarType, vecSize)); in computeXfbLayout()
910 const int vecSize = scalarSize / numVecs; in generateValue() local
924 for (int compNdx = 0; compNdx < vecSize; compNdx++) in generateValue()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ssbo/
DvktSSBOLayoutCase.cpp333 const int vecSize = isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) in computeStd140BaseAlignment() local
335 …const int vecAlign = deAlign32(getDataTypeByteAlignment(glu::getDataTypeFloatVec(vecSize)), vec4Al… in computeStd140BaseAlignment()
374 const int vecSize = isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) in computeStd430BaseAlignment() local
376 const int vecAlign = getDataTypeByteAlignment(glu::getDataTypeFloatVec(vecSize)); in computeStd430BaseAlignment()
411 const int vecSize = isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) in computeRelaxedBlockBaseAlignment() local
413 const int vecAlign = getDataTypeByteAlignment(glu::getDataTypeFloatVec(vecSize)); in computeRelaxedBlockBaseAlignment()
503 const int vecSize = isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) in computeReferenceLayout() local
505 const glu::DataType vecType = glu::getDataTypeFloatVec(vecSize); in computeReferenceLayout()
560 const int vecSize = isRowMajor ? glu::getDataTypeMatrixNumColumns(elemBasicType) in computeReferenceLayout() local
562 const glu::DataType vecType = glu::getDataTypeFloatVec(vecSize); in computeReferenceLayout()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/
DvktShaderLibrary.cpp629 const int vecSize = getDataTypeScalarSize(vecType); in computeStd140Layout() local
630 const int alignment = ((isMatrix || vecSize == 3) ? 4 : vecSize)*int(sizeof(deUint32)); in computeStd140Layout()
634 layout.size += alignment*(numVecs-1) + vecSize*int(sizeof(deUint32)); in computeStd140Layout()
651 const int vecSize = getDataTypeScalarSize(vecType); in computeStd430Layout() local
652 const int alignment = (vecSize == 3 ? 4 : vecSize)*int(sizeof(deUint32)); in computeStd430Layout()
656 layout.size += alignment*(numVecs-1) + vecSize*int(sizeof(deUint32)); in computeStd430Layout()
1008 const int vecSize = isDataTypeMatrix(basicType) in getVertexAttributeDescriptions() local
1012 const vk::VkFormat vecFmt = getVecFormat(scalarType, vecSize); in getVertexAttributeDescriptions()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/ubo/
DvktUniformBlockCase.cpp416 const int vecSize = isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) in computeStd140BaseAlignment() local
418 …const int vecAlign = deAlign32(getDataTypeByteAlignment(glu::getDataTypeFloatVec(vecSize)), vec4Al… in computeStd140BaseAlignment()
457 const int vecSize = isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) in computeStd430BaseAlignment() local
459 const int vecAlign = getDataTypeByteAlignment(glu::getDataTypeFloatVec(vecSize)); in computeStd430BaseAlignment()
494 const int vecSize = isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) in computeRelaxedBlockBaseAlignment() local
496 const int vecAlign = getDataTypeByteAlignment(glu::getDataTypeFloatVec(vecSize)); in computeRelaxedBlockBaseAlignment()
588 const int vecSize = isRowMajor ? glu::getDataTypeMatrixNumColumns(basicType) in computeReferenceLayout() local
590 const glu::DataType vecType = glu::getDataTypeFloatVec(vecSize); in computeReferenceLayout()
645 const int vecSize = isRowMajor ? glu::getDataTypeMatrixNumColumns(elemBasicType) in computeReferenceLayout() local
647 const glu::DataType vecType = glu::getDataTypeFloatVec(vecSize); in computeReferenceLayout()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/spirv_assembly/
DvktSpvAsmTrinaryMinMaxTests.cpp537 const std::string vecSize = de::toString(m_params.numComponents()); in getSpirVReplacements() local
563 const std::string typeName = "%v" + vecSize + baseTypeName; in getSpirVReplacements()
567 replacements["TYPES"] += typeName + " = OpTypeVector %" + baseTypeName + " " + vecSize + "\n"; in getSpirVReplacements()
583 const std::string typeName = "%v" + vecSize + baseTypeName; in getSpirVReplacements()
584 replacements["TYPES"] += typeName + " = OpTypeVector %" + baseTypeName + " " + vecSize + "\n"; in getSpirVReplacements()
/third_party/glslang/glslang/MachineIndependent/
DParseContextBase.cpp486 …rseContextBase::parseSwizzleSelector(const TSourceLoc& loc, const TString& compString, int vecSize, in parseSwizzleSelector() argument
564 if (selector[i] >= vecSize) { in parseSwizzleSelector()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/memory_model/
DvktMemoryModelSharedLayoutCase.cpp97 const int vecSize = scalarSize / numVecs; in generateValue() local
107 for (int compNdx = 0; compNdx < vecSize; compNdx++) in generateValue()
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/compiler/
DParseHelper.h116 bool parseVectorFields(const TString&, int vecSize, TVectorFields&, const TSourceLoc &line);
/third_party/glslang/glslang/HLSL/
DhlslParseHelper.cpp777 const int vecSize = index->getType().getVectorSize(); in makeIntegerIndex() local
785 … return intermediate.addConversion(EOpConstructUint, TType(EbtUint, EvqTemporary, vecSize), index); in makeIntegerIndex()
5151 const int vecSize = argValue->getType().getVectorSize(); in decomposeIntrinsic() local
5154 switch (vecSize) { in decomposeIntrinsic()
5163 TIntermAggregate* result = (vecSize > 1) ? new TIntermAggregate(constructOp) : nullptr; in decomposeIntrinsic()
5166 result->setType(TType(EbtFloat, EvqTemporary, vecSize)); in decomposeIntrinsic()
5170 for (int idx = 0; idx < vecSize; ++idx) { in decomposeIntrinsic()
5202 const int vecSize = argValue->getType().getVectorSize(); in decomposeIntrinsic() local
5205 switch (vecSize) { in decomposeIntrinsic()
5214 TIntermAggregate* result = (vecSize > 1) ? new TIntermAggregate(constructOp) : nullptr; in decomposeIntrinsic()
[all …]

12