/external/deqp/external/vulkancts/modules/vulkan/tessellation/ |
D | vktTessellationMiscDrawTests.cpp | 62 TessPrimitiveType primitiveType; member 67 inline CaseDefinition makeCaseDefinition (const TessPrimitiveType primitiveType, in makeCaseDefinition() argument 72 caseDef.primitiveType = primitiveType; in makeCaseDefinition() 103 std::vector<tcu::Vec2> genVertexPositions (const TessPrimitiveType primitiveType) in genVertexPositions() argument 108 if (primitiveType == TESSPRIMITIVETYPE_TRIANGLES) in genVertexPositions() 114 else if (primitiveType == TESSPRIMITIVETYPE_QUADS || primitiveType == TESSPRIMITIVETYPE_ISOLINES) in genVertexPositions() 139 const std::vector<tcu::Vec2> vertexData = genVertexPositions(caseDef.primitiveType); in runTest() 140 const deUint32 inPatchSize = (caseDef.primitiveType == TESSPRIMITIVETYPE_TRIANGLES ? 3 : 4); in runTest() 226 …n levels: " << getTessellationLevelsString(tessLevelCases[tessLevelCaseNdx], caseDef.primitiveType) in runTest() 338 const int numVertices = (caseDef.primitiveType == TESSPRIMITIVETYPE_TRIANGLES ? 3 : 4); in initCommonPrograms() [all …]
|
D | vktTessellationGeometryPassthroughTests.cpp | 92 std::string generateTessellationEvaluationShader (const TessPrimitiveType primitiveType, const std:… in generateTessellationEvaluationShader() argument 97 << "layout(" << getTessPrimitiveTypeShaderName(primitiveType) << ") in;\n" in generateTessellationEvaluationShader() 106 if (primitiveType == TESSPRIMITIVETYPE_TRIANGLES) in generateTessellationEvaluationShader() 111 else if (primitiveType == TESSPRIMITIVETYPE_QUADS || primitiveType == TESSPRIMITIVETYPE_ISOLINES) in generateTessellationEvaluationShader() 132 …tx, const std::string& name, const std::string& description, const TessPrimitiveType primitiveType) in IdentityGeometryShaderTestCase() argument 134 , m_primitiveType (primitiveType) in IdentityGeometryShaderTestCase() 221 …tx, const std::string& name, const std::string& description, const TessPrimitiveType primitiveType) in IdentityTessellationShaderTestCase() argument 223 , m_primitiveType (primitiveType) in IdentityTessellationShaderTestCase() 232 std::string generateGeometryShader (const TessPrimitiveType primitiveType, const std::string& color… in generateGeometryShader() argument 234 const int numEmitVertices = (primitiveType == TESSPRIMITIVETYPE_ISOLINES ? 11 : 8); in generateGeometryShader() [all …]
|
D | vktTessellationInvarianceTests.cpp | 238 const TessPrimitiveType primitiveType, in addDefaultPrograms() argument 293 switch (primitiveType) in addDefaultPrograms() 342 << "layout(" << getTessPrimitiveTypeShaderName(primitiveType) << ", " in addDefaultPrograms() 363 …const int numVertices = numVerticesPerPrimitive(primitiveType, *usePointModeIter); // Primitives … in addDefaultPrograms() 369 …<< "layout(" << getGeometryShaderInputPrimitiveTypeShaderName(primitiveType, *usePointModeIter) <<… in addDefaultPrograms() 370 …<< "layout(" << getGeometryShaderOutputPrimitiveTypeShaderName(primitiveType, *usePointModeIter) <… in addDefaultPrograms() 472 TessPrimitiveType primitiveType; member 504 int multiplePatchReferencePrimitiveCount (const TessPrimitiveType primitiveType, const SpacingMode … in multiplePatchReferencePrimitiveCount() argument 508 …result += referencePrimitiveCount(primitiveType, spacingMode, usePointMode, &levels[NUM_TESS_LEVEL… in multiplePatchReferencePrimitiveCount() 513 int computeMaxPrimitiveCount (const int numPatchesToDraw, const TessPrimitiveType primitiveType, co… in computeMaxPrimitiveCount() argument [all …]
|
D | vktTessellationCommonEdgeTests.cpp | 68 TessPrimitiveType primitiveType; member 103 …DE_ASSERT(caseDef.primitiveType == TESSPRIMITIVETYPE_TRIANGLES || caseDef.primitiveType == TESSPRI… in initPrograms() 127 const int numVertices = (caseDef.primitiveType == TESSPRIMITIVETYPE_TRIANGLES ? 3 : 4); in initPrograms() 149 << (caseDef.primitiveType == TESSPRIMITIVETYPE_TRIANGLES ? in initPrograms() 153 : caseDef.primitiveType == TESSPRIMITIVETYPE_QUADS ? in initPrograms() 167 if (caseDef.primitiveType == TESSPRIMITIVETYPE_TRIANGLES) in initPrograms() 173 else if (caseDef.primitiveType == TESSPRIMITIVETYPE_QUADS) in initPrograms() 196 << "layout(" << getTessPrimitiveTypeShaderName(caseDef.primitiveType) << ", " in initPrograms() 243 …DE_ASSERT(caseDef.primitiveType == TESSPRIMITIVETYPE_TRIANGLES || caseDef.primitiveType == TESSPRI… in test() 264 …const int numIndices = gridWidth*gridHeight * (caseDef.primitiveType == TESSPRIMITIVETYPE_TRIANG… in test() [all …]
|
D | vktTessellationCoordinatesTests.cpp | 65 std::string getCaseName (const TessPrimitiveType primitiveType, const SpacingMode spacingMode) in getCaseName() argument 68 …str << getTessPrimitiveTypeShaderName(primitiveType) << "_" << getSpacingModeShaderName(spacingMod… in getCaseName() 72 std::vector<TessLevels> genTessLevelCases (const TessPrimitiveType primitiveType, in genTessLevelCases() argument 105 if (primitiveType == TESSPRIMITIVETYPE_TRIANGLES) in genTessLevelCases() 113 else if (primitiveType == TESSPRIMITIVETYPE_QUADS) in genTessLevelCases() 130 std::vector<tcu::Vec3> generateReferenceTessCoords (const TessPrimitiveType primitiveType, in generateReferenceTessCoords() argument 135 if (isPatchDiscarded(primitiveType, outerLevels)) in generateReferenceTessCoords() 138 switch (primitiveType) in generateReferenceTessCoords() 215 void drawTessCoordPoint (tcu::Surface& dst, const TessPrimitiveType primitiveType, const tcu::Vec3&… in drawTessCoordPoint() argument 231 const tcu::Vec2 dstPos = primitiveType == TESSPRIMITIVETYPE_TRIANGLES ? pt.x()*triangleCorners[0] in drawTessCoordPoint() [all …]
|
D | vktTessellationUtil.cpp | 647 bool isPatchDiscarded (const TessPrimitiveType primitiveType, const float* outerLevels) in isPatchDiscarded() argument 649 const int numOuterLevels = numOuterTessellationLevels(primitiveType); in isPatchDiscarded() 656 …g getTessellationLevelsString (const TessLevels& tessLevels, const TessPrimitiveType primitiveType) in getTessellationLevelsString() argument 659 switch (primitiveType) in getTessellationLevelsString() 813 static int referencePointModePrimitiveCount (const TessPrimitiveType primitiveType, const SpacingMo… in referencePointModePrimitiveCount() argument 815 if (isPatchDiscarded(primitiveType, outerLevels)) in referencePointModePrimitiveCount() 818 switch (primitiveType) in referencePointModePrimitiveCount() 898 static int referenceNonPointModePrimitiveCount (const TessPrimitiveType primitiveType, const Spacin… in referenceNonPointModePrimitiveCount() argument 900 if (isPatchDiscarded(primitiveType, outerLevels)) in referenceNonPointModePrimitiveCount() 903 switch (primitiveType) in referenceNonPointModePrimitiveCount() [all …]
|
D | vktTessellationWindingTests.cpp | 56 std::string getCaseName (const TessPrimitiveType primitiveType, const ShaderLanguage shaderLanguage… in getCaseName() argument 59 …LanguageName(shaderLanguage) << "_" << getTessPrimitiveTypeShaderName(primitiveType) << "_" << get… in getCaseName() 80 const TessPrimitiveType primitiveType, in verifyResultImage() argument 121 if (primitiveType == TESSPRIMITIVETYPE_TRIANGLES) in verifyResultImage() 123 …const int badPixelTolerance = (primitiveType == TESSPRIMITIVETYPE_TRIANGLES ? 5*de::max(image.getW… in verifyResultImage() 166 else if (primitiveType == TESSPRIMITIVETYPE_QUADS) in verifyResultImage() 195 const TessPrimitiveType primitiveType, 213 const TessPrimitiveType primitiveType, in WindingTest() argument 218 : TestCase (testCtx, getCaseName(primitiveType, shaderLanguage, winding, yFlip), "") in WindingTest() 219 , m_primitiveType (primitiveType) in WindingTest() [all …]
|
D | vktTessellationPrimitiveDiscardTests.cpp | 58 TessPrimitiveType primitiveType; member 71 return !((caseDef.primitiveType == vkt::tessellation::TESSPRIMITIVETYPE_QUADS || in lessThanOneInnerLevelsDefined() 72 caseDef.primitiveType == vkt::tessellation::TESSPRIMITIVETYPE_TRIANGLES) && in lessThanOneInnerLevelsDefined() 155 const TessPrimitiveType primitiveType, in verifyResultImage() argument 169 const bool validLevels = !isPatchDiscarded(primitiveType, &attr[2]); in verifyResultImage() 247 const TessPrimitiveType primitiveType, in expectedVertexCount() argument 253 …count += referenceVertexCount(primitiveType, spacingMode, true, &attributes[numAttribsPerPrimitive… in expectedVertexCount() 325 << "layout(" << getTessPrimitiveTypeShaderName(caseDef.primitiveType) << ", " in initPrograms() 391 … = expectedVertexCount(numPrimitives, numAttribsPerPrimitive, caseDef.primitiveType, caseDef.spaci… in test() 398 …const bool discard = isPatchDiscarded(caseDef.primitiveType, &attributes[numAttribsPerPrimitive*pa… in test() [all …]
|
/external/skia/src/gpu/mtl/ |
D | GrMtlGpuCommandBuffer.mm | 141 GrPrimitiveType primitiveType = meshes[0].primitiveType(); 143 fixedDynamicState, primitiveType); 164 if (mesh.primitiveType() != primitiveType) { 166 primitiveType = mesh.primitiveType(); 168 primitiveType); 256 static MTLPrimitiveType gr_to_mtl_primitive(GrPrimitiveType primitiveType) { 270 SkASSERT(primitiveType <= GrPrimitiveType::kLineStrip); 271 return mtlPrimitiveType[static_cast<int>(primitiveType)]; 299 void GrMtlGpuRTCommandBuffer::sendInstancedMeshToGpu(GrPrimitiveType primitiveType, 308 SkASSERT(primitiveType != GrPrimitiveType::kLinesAdjacency); // Geometry shaders not supported. [all …]
|
/external/deqp/modules/gles3/functional/ |
D | es3fTransformFeedbackTests.cpp | 422 … glu::RenderContext& context, const ProgramSpec& spec, deUint32 bufferMode, deUint32 primitiveType) in createVertexCaptureProgram() argument 426 …genShaderSources(spec, vertSource, fragSource, primitiveType == GL_POINTS /* Is point size require… in createVertexCaptureProgram() 625 static deUint32 getTransformFeedbackOutputCount (deUint32 primitiveType, int numElements) in getTransformFeedbackOutputCount() argument 627 switch (primitiveType) in getTransformFeedbackOutputCount() 643 static deUint32 getTransformFeedbackPrimitiveCount (deUint32 primitiveType, int numElements) in getTransformFeedbackPrimitiveCount() argument 645 switch (primitiveType) in getTransformFeedbackPrimitiveCount() 661 static deUint32 getTransformFeedbackPrimitiveMode (deUint32 primitiveType) in getTransformFeedbackPrimitiveMode() argument 663 switch (primitiveType) in getTransformFeedbackPrimitiveMode() 684 static int getAttributeIndex (deUint32 primitiveType, int numInputs, int outNdx) in getAttributeIndex() argument 686 switch (primitiveType) in getAttributeIndex() [all …]
|
/external/deqp/external/vulkancts/modules/vulkan/geometry/ |
D | vktGeometryInputGeometryShaderTests.cpp | 63 const VkPrimitiveTopology primitiveType, 67 const VkPrimitiveTopology primitiveType, 75 const VkPrimitiveTopology primitiveType, in GeometryInputTestInstance() argument 77 : GeometryExpanderRenderTestInstance (context, primitiveType, name) in GeometryInputTestInstance() 83 const VkPrimitiveTopology primitiveType, in GeometryInputTestInstance() argument 86 : GeometryExpanderRenderTestInstance (context, primitiveType, name) in GeometryInputTestInstance() 136 , m_primitiveType (inputPrimitives.primitiveType) in GeometryExpanderRenderTest()
|
/external/skqp/src/gpu/mtl/ |
D | GrMtlGpuCommandBuffer.mm | 116 if (meshes[i].primitiveType() == GrPrimitiveType::kPoints) { 255 static MTLPrimitiveType gr_to_mtl_primitive(GrPrimitiveType primitiveType) { 269 SkASSERT(primitiveType <= GrPrimitiveType::kLineStrip); 270 return mtlPrimitiveType[static_cast<int>(primitiveType)]; 298 void GrMtlGpuRTCommandBuffer::sendInstancedMeshToGpu(GrPrimitiveType primitiveType, 307 SkASSERT(primitiveType != GrPrimitiveType::kLinesAdjacency); // Geometry shaders not supported. 308 [fActiveRenderCmdEncoder drawPrimitives: gr_to_mtl_primitive(primitiveType) 315 void GrMtlGpuRTCommandBuffer::sendIndexedInstancedMeshToGpu(GrPrimitiveType primitiveType, 327 SkASSERT(primitiveType != GrPrimitiveType::kLinesAdjacency); // Geometry shaders not supported. 338 [fActiveRenderCmdEncoder drawIndexedPrimitives: gr_to_mtl_primitive(primitiveType)
|
/external/deqp/modules/gles31/functional/ |
D | es31fTessellationTests.cpp | 838 static inline bool isPatchDiscarded (TessPrimitiveType primitiveType, const float* outerLevels) in isPatchDiscarded() argument 840 const int numOuterLevels = numOuterTessellationLevels(primitiveType); in isPatchDiscarded() 847 static vector<Vec3> generateReferenceTessCoords (TessPrimitiveType primitiveType, SpacingMode spaci… in generateReferenceTessCoords() argument 849 if (isPatchDiscarded(primitiveType, outerLevels)) in generateReferenceTessCoords() 852 switch (primitiveType) in generateReferenceTessCoords() 912 static int referencePointModePrimitiveCount (TessPrimitiveType primitiveType, SpacingMode spacingMo… in referencePointModePrimitiveCount() argument 914 if (isPatchDiscarded(primitiveType, outerLevels)) in referencePointModePrimitiveCount() 917 switch (primitiveType) in referencePointModePrimitiveCount() 948 static int referenceNonPointModePrimitiveCount (TessPrimitiveType primitiveType, SpacingMode spacin… in referenceNonPointModePrimitiveCount() argument 950 if (isPatchDiscarded(primitiveType, outerLevels)) in referenceNonPointModePrimitiveCount() [all …]
|
/external/skia/src/gpu/ops/ |
D | GrMeshDrawOp.cpp | 19 GrMeshDrawOp::PatternHelper::PatternHelper(Target* target, GrPrimitiveType primitiveType, in PatternHelper() argument 23 this->init(target, primitiveType, vertexStride, std::move(indexBuffer), verticesPerRepetition, in PatternHelper() 27 void GrMeshDrawOp::PatternHelper::init(Target* target, GrPrimitiveType primitiveType, in init() argument 46 fMesh = target->allocMesh(primitiveType); in init()
|
D | GrDrawVerticesOp.cpp | 73 GrPrimitiveType primitiveType() const { return fPrimitiveType; } in primitiveType() function in __anon76c597a00111::DrawVerticesOp 137 int boneCount, GrPrimitiveType primitiveType, GrAAType aaType, in DrawVerticesOp() argument 142 , fPrimitiveType(primitiveType) in DrawVerticesOp() 182 if (GrIsPrimTypeLines(primitiveType) || GrPrimitiveType::kPoints == primitiveType) { in DrawVerticesOp() 500 GrMesh* mesh = target->allocMesh(this->primitiveType()); in drawVertices() 529 if (!this->combinablePrimitive() || this->primitiveType() != that->primitiveType()) { in onCombineIfPossible()
|
/external/skqp/src/gpu/ops/ |
D | GrMeshDrawOp.cpp | 23 GrMeshDrawOp::PatternHelper::PatternHelper(Target* target, GrPrimitiveType primitiveType, in PatternHelper() argument 27 this->init(target, primitiveType, vertexStride, std::move(indexBuffer), verticesPerRepetition, in PatternHelper() 31 void GrMeshDrawOp::PatternHelper::init(Target* target, GrPrimitiveType primitiveType, in init() argument 50 fMesh = target->allocMesh(primitiveType); in init()
|
/external/deqp/external/openglcts/modules/glesext/tessellation_shader/ |
D | esextcTessellationShaderWinding.cpp | 44 …cts::Context& context, const ExtParameters& extParams, std::string name, std::string primitiveType, 61 std::string primitiveType, std::string winding) in WindingCase() argument 64 DE_ASSERT((primitiveType.compare("triangles") == 0) || (primitiveType.compare("quads") == 0)); in WindingCase() 67 m_specializationMap["PRIMITIVE_TYPE"] = primitiveType; in WindingCase()
|
/external/easymock/src/org/easymock/internal/ |
D | MethodSerializationWrapper.java | 68 Class<?> primitiveType = primitiveTypes.get(parameterTypeNames[i]); in getMethod() local 69 if (primitiveType != null) { in getMethod() 70 parameterTypes[i] = primitiveType; in getMethod()
|
/external/skqp/src/gpu/vk/ |
D | GrVkPipelineStateBuilder.cpp | 27 GrPrimitiveType primitiveType, in CreatePipelineState() argument 39 return builder.finalize(stencil, primitiveType, compatibleRenderPass, desc); in CreatePipelineState() 231 GrPrimitiveType primitiveType, in finalize() argument 339 primitiveType, in finalize() 398 GrPrimitiveType primitiveType, in Build() argument 401 primitiveType == GrPrimitiveType::kPoints, pipeline, gpu)) { in Build() 419 b.add32((uint32_t)primitiveType); in Build()
|
D | GrVkPipelineStateCache.cpp | 83 GrPrimitiveType primitiveType, in refPipelineState() argument 99 primitiveType, fGpu)) { in refPipelineState() 116 primitiveType, &desc, compatibleRenderPass)); in refPipelineState()
|
D | GrVkGpuCommandBuffer.cpp | 640 GrPrimitiveType primitiveType) { in prepareDrawState() argument 660 primitiveType, in prepareDrawState() 760 GrPrimitiveType primitiveType = meshes[0].primitiveType(); in onDraw() local 762 dynamicStateArrays, primitiveType); in onDraw() 773 if (mesh.primitiveType() != primitiveType) { in onDraw() 775 primitiveType = mesh.primitiveType(); in onDraw() 777 dynamicStateArrays, primitiveType); in onDraw()
|
/external/skia/src/gpu/vk/ |
D | GrVkPipelineStateBuilder.cpp | 27 GrPrimitiveType primitiveType, in CreatePipelineState() argument 39 return builder.finalize(stencil, primitiveType, compatibleRenderPass, desc); in CreatePipelineState() 231 GrPrimitiveType primitiveType, in finalize() argument 336 numShaderStages, primitiveType, compatibleRenderPass, pipelineLayout); in finalize() 376 GrPrimitiveType primitiveType, in Build() argument 379 primitiveType == GrPrimitiveType::kPoints, pipeline, gpu)) { in Build() 397 b.add32((uint32_t)primitiveType); in Build()
|
D | GrVkPipelineStateCache.cpp | 83 GrPrimitiveType primitiveType, in refPipelineState() argument 99 primitiveType, fGpu)) { in refPipelineState() 116 primitiveType, &desc, compatibleRenderPass)); in refPipelineState()
|
D | GrVkGpuCommandBuffer.cpp | 634 GrPrimitiveType primitiveType) { in prepareDrawState() argument 654 primitiveType, in prepareDrawState() 754 GrPrimitiveType primitiveType = meshes[0].primitiveType(); in onDraw() local 756 dynamicStateArrays, primitiveType); in onDraw() 767 if (mesh.primitiveType() != primitiveType) { in onDraw() 769 primitiveType = mesh.primitiveType(); in onDraw() 771 dynamicStateArrays, primitiveType); in onDraw()
|
/external/oj-libjdwp/src/share/classes/com/sun/tools/jdi/ |
D | PrimitiveValueImpl.java | 125 PrimitiveTypeImpl primitiveType = (PrimitiveTypeImpl)destination.type(); in convertForAssignmentTo() local 126 return (ValueImpl)(primitiveType.convert(this)); in convertForAssignmentTo()
|