Lines Matching refs:seed
50 std::size_t seed = 0;
55 seed ^= hasher(*v) + 0x9e3779b9 + (seed << 6) + (seed >> 2);
57 return seed;
150 void hashPNextChain (std::size_t& seed, const void* pNext, const std::map<deUint64, std::size_t>& objectHashes)
160 hash_combine(seed, deUint32(ptr->stencilInitialLayout), deUint32(ptr->stencilFinalLayout));
168 hash_combine(seed, ptr->pBindingFlags[i]);
174 hash_combine(seed, ptr->srcPremultiplied, ptr->dstPremultiplied, deUint32(ptr->blendOverlap));
182 hash_combine(seed, ptr->pColorWriteEnables[i]);
188 hash_combine(seed, ptr->flags, deUint32(ptr->discardRectangleMode));
191 hash_combine(seed, ptr->pDiscardRectangles[i].offset.x, ptr->pDiscardRectangles[i].offset.y, ptr->pDiscardRectangles[i].extent.width, ptr->pDiscardRectangles[i].extent.height);
197 hash_combine(seed, ptr->fragmentSize.width, ptr->fragmentSize.height, deUint32(ptr->combinerOps[0]), deUint32(ptr->combinerOps[1]));
203 hash_combine(seed, ptr->flags, deUint32(ptr->conservativeRasterizationMode), ptr->extraPrimitiveOverestimationSize);
209 hash_combine(seed, ptr->flags, ptr->depthClipEnable);
215 hash_combine(seed, deUint32(ptr->lineRasterizationMode), ptr->stippledLineEnable, ptr->lineStippleFactor, ptr->lineStipplePattern);
221 hash_combine(seed, ptr->sampleLocationsEnable, deUint32(ptr->sampleLocationsInfo.sampleLocationsPerPixel), ptr->sampleLocationsInfo.sampleLocationGridSize.width, ptr->sampleLocationsInfo.sampleLocationGridSize.height);
224 hash_combine(seed, ptr->sampleLocationsInfo.pSampleLocations[i].x, ptr->sampleLocationsInfo.pSampleLocations[i].y);
230 hash_combine(seed, ptr->requiredSubgroupSize);
236 hash_combine(seed, deUint32(ptr->domainOrigin));
244 hash_combine(seed, ptr->pVertexBindingDivisors[i].binding, ptr->pVertexBindingDivisors[i].divisor);
252 hash_combine(seed, ptr->pAspectReferences[i].subpass, ptr->pAspectReferences[i].inputAttachmentIndex, ptr->pAspectReferences[i].aspectMask);
260 hash_combine(seed, ptr->pViewMasks[i]);
263 hash_combine(seed, ptr->pViewOffsets[i]);
266 hash_combine(seed, ptr->pCorrelationMasks[i]);
273 hash_combine(seed, ptr->customBorderColor.uint32[i]);
274 hash_combine(seed, deUint32(ptr->format));
280 hash_combine(seed, deUint32(ptr->reductionMode));
289 hash_combine(seed, it->second);
296 hashPNextChain(seed, pBase->pNext, objectHashes);
317 std::size_t seed = 0;
319 hashPNextChain(seed, gpCI.pNext, objectHashes);
321 hash_combine(seed, gpCI.flags);
337 hashPNextChain(seed, gpCI.pStages[i].pNext, objectHashes);
339 hash_combine(seed, deUint32(gpCI.pStages[i].flags), deUint32(gpCI.pStages[i].stage));
342 hash_combine(seed, it->second);
344 hash_combine(seed, std::string(gpCI.pStages[i].pName));
351 hash_combine(seed, gpCI.pStages[i].pSpecializationInfo->pMapEntries[j].constantID, gpCI.pStages[i].pSpecializationInfo->pMapEntries[j].offset, gpCI.pStages[i].pSpecializationInfo->pMapEntries[j].size);
353 hash_combine(seed, MemoryArea(gpCI.pStages[i].pSpecializationInfo->pData, gpCI.pStages[i].pSpecializationInfo->dataSize));
401 hashPNextChain(seed, gpCI.pVertexInputState->pNext, objectHashes);
402 hash_combine(seed, gpCI.pVertexInputState->flags);
405 hash_combine(seed, gpCI.pVertexInputState->pVertexBindingDescriptions[i].binding, gpCI.pVertexInputState->pVertexBindingDescriptions[i].stride, deUint32(gpCI.pVertexInputState->pVertexBindingDescriptions[i].inputRate));
408 hash_combine(seed, gpCI.pVertexInputState->pVertexAttributeDescriptions[i].location, gpCI.pVertexInputState->pVertexAttributeDescriptions[i].binding, deUint32(gpCI.pVertexInputState->pVertexAttributeDescriptions[i].format), gpCI.pVertexInputState->pVertexAttributeDescriptions[i].offset);
413 hashPNextChain(seed, gpCI.pInputAssemblyState->pNext, objectHashes);
414 hash_combine(seed, deUint32(gpCI.pInputAssemblyState->flags), deUint32(gpCI.pInputAssemblyState->topology), gpCI.pInputAssemblyState->primitiveRestartEnable);
418 hashPNextChain(seed, gpCI.pTessellationState->pNext, objectHashes);
419 hash_combine(seed, gpCI.pTessellationState->flags, gpCI.pTessellationState->patchControlPoints);
423 hashPNextChain(seed, gpCI.pViewportState->pNext, objectHashes);
424 hash_combine(seed, gpCI.pViewportState->flags);
428 hash_combine(seed, gpCI.pViewportState->pViewports[i].x, gpCI.pViewportState->pViewports[i].y, gpCI.pViewportState->pViewports[i].width, gpCI.pViewportState->pViewports[i].height, gpCI.pViewportState->pViewports[i].minDepth, gpCI.pViewportState->pViewports[i].maxDepth);
432 hash_combine(seed, gpCI.pViewportState->pScissors[i].offset.x, gpCI.pViewportState->pScissors[i].offset.y, gpCI.pViewportState->pScissors[i].extent.width, gpCI.pViewportState->pScissors[i].extent.height);
436 hashPNextChain(seed, gpCI.pRasterizationState->pNext, objectHashes);
437 hash_combine(seed, deUint32(gpCI.pRasterizationState->flags), gpCI.pRasterizationState->depthClampEnable, gpCI.pRasterizationState->rasterizerDiscardEnable, deUint32(gpCI.pRasterizationState->polygonMode), deUint32(gpCI.pRasterizationState->cullMode), deUint32(gpCI.pRasterizationState->frontFace), gpCI.pRasterizationState->depthBiasEnable, gpCI.pRasterizationState->depthBiasConstantFactor, gpCI.pRasterizationState->depthBiasClamp, gpCI.pRasterizationState->depthBiasSlopeFactor, gpCI.pRasterizationState->lineWidth);
441 hashPNextChain(seed, gpCI.pMultisampleState->pNext, objectHashes);
442 hash_combine(seed, deUint32(gpCI.pMultisampleState->flags), deUint32(gpCI.pMultisampleState->rasterizationSamples), gpCI.pMultisampleState->sampleShadingEnable, gpCI.pMultisampleState->minSampleShading);
445 hash_combine(seed, gpCI.pMultisampleState->pSampleMask[i]);
446 hash_combine(seed, gpCI.pMultisampleState->alphaToCoverageEnable, gpCI.pMultisampleState->alphaToOneEnable);
450 hashPNextChain(seed, gpCI.pDepthStencilState->pNext, objectHashes);
451 hash_combine(seed, deUint32(gpCI.pDepthStencilState->flags), gpCI.pDepthStencilState->depthTestEnable, gpCI.pDepthStencilState->depthWriteEnable, deUint32(gpCI.pDepthStencilState->depthCompareOp), gpCI.pDepthStencilState->depthBoundsTestEnable, gpCI.pDepthStencilState->stencilTestEnable);
454 hash_combine(seed, deUint32(gpCI.pDepthStencilState->front.failOp), deUint32(gpCI.pDepthStencilState->front.passOp), deUint32(gpCI.pDepthStencilState->front.depthFailOp), deUint32(gpCI.pDepthStencilState->front.compareOp), gpCI.pDepthStencilState->front.compareMask, gpCI.pDepthStencilState->front.writeMask, gpCI.pDepthStencilState->front.reference);
455 hash_combine(seed, deUint32(gpCI.pDepthStencilState->back.failOp), deUint32(gpCI.pDepthStencilState->back.passOp), deUint32(gpCI.pDepthStencilState->back.depthFailOp), deUint32(gpCI.pDepthStencilState->back.compareOp), gpCI.pDepthStencilState->back.compareMask, gpCI.pDepthStencilState->back.writeMask, gpCI.pDepthStencilState->back.reference);
457 hash_combine(seed, gpCI.pDepthStencilState->minDepthBounds, gpCI.pDepthStencilState->maxDepthBounds);
461 hashPNextChain(seed, gpCI.pColorBlendState->pNext, objectHashes);
462 hash_combine(seed, deUint32(gpCI.pColorBlendState->flags), gpCI.pColorBlendState->logicOpEnable, deUint32(gpCI.pColorBlendState->logicOp));
472 seed,
485 hash_combine(seed, gpCI.pColorBlendState->blendConstants[i]);
489 hashPNextChain(seed, gpCI.pDynamicState->pNext, objectHashes);
490 hash_combine(seed, gpCI.pDynamicState->flags);
493 hash_combine(seed, deUint32(gpCI.pDynamicState->pDynamicStates[i]));
499 hash_combine(seed, it->second);
505 hash_combine(seed, it->second);
508 hash_combine(seed, gpCI.subpass);
513 hash_combine(seed, it->second);
515 hash_combine(seed, gpCI.basePipelineIndex);
517 return seed;
522 std::size_t seed = 0;
524 hashPNextChain(seed, cpCI.pNext, objectHashes);
526 hash_combine(seed, cpCI.flags);
529 hash_combine(seed, deUint32(cpCI.stage.flags), deUint32(cpCI.stage.stage));
532 hash_combine(seed, it->second);
534 hash_combine(seed, std::string(cpCI.stage.pName));
541 hash_combine(seed, cpCI.stage.pSpecializationInfo->pMapEntries[j].constantID, cpCI.stage.pSpecializationInfo->pMapEntries[j].offset, cpCI.stage.pSpecializationInfo->pMapEntries[j].size);
543 hash_combine(seed, MemoryArea(cpCI.stage.pSpecializationInfo->pData, cpCI.stage.pSpecializationInfo->dataSize));
551 hash_combine(seed, it->second);
557 hash_combine(seed, it->second);
559 hash_combine(seed, cpCI.basePipelineIndex);
561 return seed;
567 std::size_t seed = 0;
568 hashPNextChain(seed, scCI.pNext, objectHashes);
569 hash_combine(seed, deUint32(scCI.format), deUint32(scCI.ycbcrModel), deUint32(scCI.ycbcrRange), deUint32(scCI.components.r), deUint32(scCI.components.g), deUint32(scCI.components.b), deUint32(scCI.components.a), deUint32(scCI.xChromaOffset), deUint32(scCI.yChromaOffset), deUint32(scCI.chromaFilter), scCI.forceExplicitReconstruction);
570 return seed;
575 std::size_t seed = 0;
576 hashPNextChain(seed, sCI.pNext, objectHashes);
577 hash_combine(seed, deUint32(sCI.flags), deUint32(sCI.magFilter), deUint32(sCI.minFilter), deUint32(sCI.mipmapMode), deUint32(sCI.addressModeU), deUint32(sCI.addressModeV), deUint32(sCI.addressModeW), sCI.mipLodBias, sCI.anisotropyEnable, sCI.maxAnisotropy, sCI.compareEnable, deUint32(sCI.compareOp), sCI.minLod, sCI.maxLod, deUint32(sCI.borderColor), sCI.unnormalizedCoordinates);
578 return seed;
583 std::size_t seed = 0;
585 hashPNextChain(seed, sCI.pNext, objectHashes);
587 hash_combine(seed, deUint32(sCI.flags));
592 hash_combine(seed, sCI.pBindings[i].binding, deUint32(sCI.pBindings[i].descriptorType), sCI.pBindings[i].descriptorCount, deUint32(sCI.pBindings[i].stageFlags));
599 hash_combine(seed, it->second);
604 return seed;
609 std::size_t seed = 0;
611 hashPNextChain(seed, pCI.pNext, objectHashes);
613 hash_combine(seed, deUint32(pCI.flags));
621 hash_combine(seed, it->second);
628 hash_combine(seed, deUint32(pCI.pPushConstantRanges[i].stageFlags));
629 hash_combine(seed, pCI.pPushConstantRanges[i].offset);
630 hash_combine(seed, pCI.pPushConstantRanges[i].size);
634 return seed;
639 std::size_t seed = 0;
641 hashPNextChain(seed, sCI.pNext, objectHashes);
643 hash_combine(seed, deUint32(sCI.flags));
644 hash_combine(seed, MemoryArea(sCI.pCode, sCI.codeSize));
646 return seed;
652 std::size_t seed = 0;
654 hashPNextChain(seed, rCI.pNext, objectHashes);
656 hash_combine(seed, deUint32(rCI.flags));
660 hash_combine(seed, deUint32(rCI.pAttachments[i].flags), deUint32(rCI.pAttachments[i].format), deUint32(rCI.pAttachments[i].samples), deUint32(rCI.pAttachments[i].loadOp), deUint32(rCI.pAttachments[i].storeOp), deUint32(rCI.pAttachments[i].stencilLoadOp), deUint32(rCI.pAttachments[i].stencilStoreOp), deUint32(rCI.pAttachments[i].initialLayout), deUint32(rCI.pAttachments[i].finalLayout));
666 hash_combine(seed, deUint32(rCI.pSubpasses[i].flags), deUint32(rCI.pSubpasses[i].pipelineBindPoint));
669 hash_combine(seed, rCI.pSubpasses[i].pInputAttachments[j].attachment, deUint32(rCI.pSubpasses[i].pInputAttachments[j].layout));
672 hash_combine(seed, rCI.pSubpasses[i].pColorAttachments[j].attachment, deUint32(rCI.pSubpasses[i].pColorAttachments[j].layout));
675 hash_combine(seed, rCI.pSubpasses[i].pResolveAttachments[j].attachment, deUint32(rCI.pSubpasses[i].pResolveAttachments[j].layout));
677 hash_combine(seed, rCI.pSubpasses[i].pDepthStencilAttachment->attachment, deUint32(rCI.pSubpasses[i].pDepthStencilAttachment->layout));
680 hash_combine(seed, rCI.pSubpasses[i].pPreserveAttachments[j]);
685 hash_combine(seed, rCI.pDependencies[i].srcSubpass, rCI.pDependencies[i].dstSubpass, deUint32(rCI.pDependencies[i].srcStageMask), deUint32(rCI.pDependencies[i].dstStageMask), deUint64(rCI.pDependencies[i].srcAccessMask), deUint64(rCI.pDependencies[i].dstAccessMask), deUint32(rCI.pDependencies[i].dependencyFlags));
687 return seed;
692 std::size_t seed = 0;
694 hashPNextChain(seed, rCI.pNext, objectHashes);
696 hash_combine(seed, rCI.flags);
700 hash_combine(seed, deUint32(rCI.pAttachments[i].flags), deUint32(rCI.pAttachments[i].format), deUint32(rCI.pAttachments[i].samples), deUint32(rCI.pAttachments[i].loadOp), deUint32(rCI.pAttachments[i].storeOp), deUint32(rCI.pAttachments[i].stencilLoadOp), deUint32(rCI.pAttachments[i].stencilStoreOp), deUint32(rCI.pAttachments[i].initialLayout), deUint32(rCI.pAttachments[i].finalLayout));
706 hash_combine(seed, deUint32(rCI.pSubpasses[i].flags), deUint32(rCI.pSubpasses[i].pipelineBindPoint));
709 hash_combine(seed, rCI.pSubpasses[i].pInputAttachments[j].attachment, deUint32(rCI.pSubpasses[i].pInputAttachments[j].layout));
712 hash_combine(seed, rCI.pSubpasses[i].pColorAttachments[j].attachment, deUint32(rCI.pSubpasses[i].pColorAttachments[j].layout));
715 hash_combine(seed, rCI.pSubpasses[i].pResolveAttachments[j].attachment, deUint32(rCI.pSubpasses[i].pResolveAttachments[j].layout));
717 hash_combine(seed, rCI.pSubpasses[i].pDepthStencilAttachment->attachment, deUint32(rCI.pSubpasses[i].pDepthStencilAttachment->layout));
720 hash_combine(seed, rCI.pSubpasses[i].pPreserveAttachments[j]);
725 hash_combine(seed, rCI.pDependencies[i].srcSubpass, rCI.pDependencies[i].dstSubpass, deUint32(rCI.pDependencies[i].srcStageMask), deUint32(rCI.pDependencies[i].dstStageMask), deUint64(rCI.pDependencies[i].srcAccessMask), deUint64(rCI.pDependencies[i].dstAccessMask), deUint32(rCI.pDependencies[i].dependencyFlags));
729 hash_combine(seed, rCI.pCorrelatedViewMasks[i]);
731 return seed;