Lines Matching defs:staticValue

1257 	T				staticValue;
1262 : staticValue (value)
1269 : staticValue (sVal)
1279 std::swap(staticValue, dynamicValue.get());
2251 return ((viewportConfig.dynamicValue && !m_swappedValues) ? viewportConfig.dynamicValue.get() : viewportConfig.staticValue);
2257 return ((vertexGenerator.dynamicValue && !m_swappedValues) ? vertexGenerator.dynamicValue.get() : vertexGenerator.staticValue);
2263 return ((vertexGenerator.dynamicValue && m_swappedValues) ? vertexGenerator.dynamicValue.get() : vertexGenerator.staticValue);
2269 return ((patchControlPointsConfig.dynamicValue && !m_swappedValues) ? patchControlPointsConfig.dynamicValue.get() : patchControlPointsConfig.staticValue);
2275 return ((depthBiasConfig.dynamicValue && !m_swappedValues) ? depthBiasConfig.dynamicValue.get() : depthBiasConfig.staticValue);
2280 return ((tessDomainOriginConfig.dynamicValue && !m_swappedValues) ? tessDomainOriginConfig.dynamicValue.get() : tessDomainOriginConfig.staticValue);
2285 return ((polygonModeConfig.dynamicValue && !m_swappedValues) ? polygonModeConfig.dynamicValue.get() : polygonModeConfig.staticValue);
2290 return ((rasterizationSamplesConfig.dynamicValue && !m_swappedValues) ? rasterizationSamplesConfig.dynamicValue.get() : rasterizationSamplesConfig.staticValue);
2295 return ((alphaToOneConfig.dynamicValue && !m_swappedValues) ? alphaToOneConfig.dynamicValue.get() : alphaToOneConfig.staticValue);
2300 return (static_cast<bool>(rasterizationStreamConfig.staticValue)
2306 return (static_cast<bool>(provokingVertexConfig.staticValue)
2312 return (static_cast<bool>(negativeOneToOneConfig.staticValue)
2318 return (static_cast<bool>(depthClipEnableConfig.staticValue)
2324 return (static_cast<bool>(lineStippleParamsConfig.staticValue));
2329 return (static_cast<bool>(lineRasterModeConfig.staticValue));
2346 return (lineStippleEnableConfig.staticValue || (static_cast<bool>(lineStippleEnableConfig.dynamicValue) && lineStippleEnableConfig.dynamicValue.get()));
2351 return (static_cast<bool>(lineStippleEnableConfig.dynamicValue) || lineStippleEnableConfig.staticValue || hasStaticLineStippleParams() || hasStaticLineRasterMode());
2361 return (static_cast<bool>(sampleLocationsEnableConfig.dynamicValue) || sampleLocationsEnableConfig.staticValue);
2366 return (static_cast<bool>(coverageToColorEnableConfig.dynamicValue) || coverageToColorEnableConfig.staticValue);
2371 return (static_cast<bool>(conservativeRasterModeConfig.dynamicValue) || conservativeRasterModeConfig.staticValue != vk::VK_CONSERVATIVE_RASTERIZATION_MODE_DISABLED_EXT
2372 || static_cast<bool>(extraPrimitiveOverEstConfig.dynamicValue) || extraPrimitiveOverEstConfig.staticValue >= 0.0f);
2377 return ((static_cast<bool>(conservativeRasterModeConfig.dynamicValue) && !m_swappedValues) ? conservativeRasterModeConfig.dynamicValue.get() : conservativeRasterModeConfig.staticValue);
2382 return ((static_cast<bool>(extraPrimitiveOverEstConfig.dynamicValue) && !m_swappedValues) ? extraPrimitiveOverEstConfig.dynamicValue.get() : extraPrimitiveOverEstConfig.staticValue);
2387 const bool staticValue = (static_cast<bool>(negativeOneToOneConfig.staticValue) ? negativeOneToOneConfig.staticValue.get() : false);
2391 return ((hasDynamicValue && !m_swappedValues) ? dynamicValue.get() : staticValue);
2396 const bool staticValue = (static_cast<bool>(depthClipEnableConfig.staticValue) ? depthClipEnableConfig.staticValue.get() : true);
2400 return ((hasDynamicValue && !m_swappedValues) ? dynamicValue.get() : staticValue);
2405 return ((static_cast<bool>(lineWidthConfig.dynamicValue) && !m_swappedValues) ? lineWidthConfig.dynamicValue.get() : lineWidthConfig.staticValue);
2559 return getTopologyClass(topologyConfig.staticValue);
2577 return ((static_cast<bool>(lineStippleEnableConfig.dynamicValue) && !m_swappedValues) ? lineStippleEnableConfig.dynamicValue.get() : lineStippleEnableConfig.staticValue);
2583 return ((static_cast<bool>(primRestartEnableConfig.dynamicValue) && !m_swappedValues) ? primRestartEnableConfig.dynamicValue.get() : primRestartEnableConfig.staticValue);
2590 return ((static_cast<bool>(reprFragTestEnableConfig.dynamicValue) && !m_swappedValues) ? reprFragTestEnableConfig.dynamicValue.get() : reprFragTestEnableConfig.staticValue);
2599 return ((static_cast<bool>(colorBlendEnableConfig.dynamicValue) && !m_swappedValues) ? colorBlendEnableConfig.dynamicValue.get() : colorBlendEnableConfig.staticValue);
2728 dynamicStates.push_back(colorBlendEquationConfig.staticValue.isAdvanced()
2838 if (colorBlendEquationConfig.staticValue.isAdvanced())
2992 const auto staticTopologyClass = getTopologyClass(testConfig.topologyConfig.staticValue);
3054 m_testConfig.vertexGenerator.staticValue->checkSupport(context);
3081 auto numViewports = viewportConfig.staticValue.size();
3094 const bool useDepthBounds = (dbTestEnable.staticValue || (dbTestEnable.dynamicValue && dbTestEnable.dynamicValue.get()));
3180 const auto isAdvanced = m_testConfig.colorBlendEquationConfig.staticValue.isAdvanced();
3252 if (combinations[i].rasterizationSamples == m_testConfig.rasterizationSamplesConfig.staticValue &&
3261 if (!findCombination(m_testConfig.coverageReductionModeConfig.staticValue) || !findCombination(m_testConfig.coverageReductionModeConfig.dynamicValue.get()))
3306 if (static_cast<bool>(m_testConfig.rasterizationStreamConfig.staticValue))
3308 const auto staticStreamId = m_testConfig.rasterizationStreamConfig.staticValue.get();
3327 const auto rasterMode = selectLineRasterizationMode(lineRastFeatures, m_testConfig.lineStippleSupportRequired(), m_testConfig.lineRasterModeConfig.staticValue);
3618 const auto topologyClass = getTopologyClass(m_testConfig.topologyConfig.staticValue);
3710 DE_ASSERT(m_testConfig.topologyConfig.staticValue == vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP ||
3711 m_testConfig.topologyConfig.staticValue == vk::VK_PRIMITIVE_TOPOLOGY_LINE_STRIP);
4034 const auto bindings = generator->getBindingDescriptions2(testConfig.strideConfig.staticValue);
4106 const auto isAdvanced = testConfig.colorBlendEquationConfig.staticValue.isAdvanced();
4657 const auto topologyClass = getTopologyClass(m_testConfig.topologyConfig.staticValue);
5161 const auto vertexBindings = m_testConfig.vertexGenerator.staticValue->getBindingDescriptions(m_testConfig.strideConfig.staticValue);
5162 const auto vertexAttributes = m_testConfig.vertexGenerator.staticValue->getAttributeDescriptions();
5181 m_testConfig.topologyConfig.staticValue, // VkPrimitiveTopology topology;
5182 makeVkBool32(m_testConfig.primRestartEnableConfig.staticValue), // VkBool32 primitiveRestartEnable;
5189 DE_ASSERT(m_testConfig.viewportConfig.staticValue.size() > 0u);
5194 DE_ASSERT(m_testConfig.scissorConfig.staticValue.size() > 0u);
5201 const bool staticStreamInfo = static_cast<bool>(m_testConfig.rasterizationStreamConfig.staticValue);
5202 const bool staticProvokingVtxInfo = static_cast<bool>(m_testConfig.provokingVertexConfig.staticValue);
5203 const bool staticDepthClipEnableInfo = static_cast<bool>(m_testConfig.depthClipEnableConfig.staticValue);
5204 const bool staticDepthClipControlInfo = static_cast<bool>(m_testConfig.negativeOneToOneConfig.staticValue);
5218 pRasterizationStreamInfo->rasterizationStream = m_testConfig.rasterizationStreamConfig.staticValue.get();
5227 pProvokingVertexModeInfo->provokingVertexMode = makeProvokingVertexMode(m_testConfig.provokingVertexConfig.staticValue.get());
5236 pDepthClipEnableInfo->depthClipEnable = makeVkBool32(m_testConfig.depthClipEnableConfig.staticValue.get());
5245 pDepthClipControlInfo->negativeOneToOne = makeVkBool32(m_testConfig.negativeOneToOneConfig.staticValue.get());
5256 pConservativeRasterModeInfo->conservativeRasterizationMode = m_testConfig.conservativeRasterModeConfig.staticValue;
5257 pConservativeRasterModeInfo->extraPrimitiveOverestimationSize = m_testConfig.extraPrimitiveOverEstConfig.staticValue;
5289 DE_ASSERT(static_cast<bool>(m_testConfig.lineStippleParamsConfig.staticValue));
5295 const auto lineRasterMode = selectLineRasterizationMode(lineRasterFeatures, m_testConfig.lineStippleSupportRequired(), m_testConfig.lineRasterModeConfig.staticValue);
5296 const auto& staticParams = m_testConfig.lineStippleParamsConfig.staticValue.get();
5298 pLineRasterModeInfo->stippledLineEnable = m_testConfig.lineStippleEnableConfig.staticValue;
5309 makeVkBool32(m_testConfig.depthClampEnableConfig.staticValue), // VkBool32 depthClampEnable;
5310 makeVkBool32(m_testConfig.rastDiscardEnableConfig.staticValue), // VkBool32 rasterizerDiscardEnable;
5311 m_testConfig.polygonModeConfig.staticValue, // VkPolygonMode polygonMode;
5312 m_testConfig.cullModeConfig.staticValue, // VkCullModeFlags cullMode;
5313 m_testConfig.frontFaceConfig.staticValue, // VkFrontFace frontFace;
5314 makeVkBool32(m_testConfig.depthBiasEnableConfig.staticValue), // VkBool32 depthBiasEnable;
5315 m_testConfig.depthBiasConfig.staticValue.constantFactor, // float depthBiasConstantFactor;
5316 m_testConfig.depthBiasConfig.staticValue.clamp, // float depthBiasClamp;
5318 m_testConfig.lineWidthConfig.staticValue, // float lineWidth;
5353 pSampleLocations->sampleLocationsEnable = makeVkBool32(m_testConfig.sampleLocationsEnableConfig.staticValue);
5372 pCoverageToColor->coverageToColorEnable = makeVkBool32(m_testConfig.coverageToColorEnableConfig.staticValue);
5373 pCoverageToColor->coverageToColorLocation = m_testConfig.coverageToColorLocationConfig.staticValue;
5381 pCoverageModulation->coverageModulationMode = m_testConfig.coverageModulationModeConfig.staticValue;
5382 pCoverageModulation->coverageModulationTableEnable = makeVkBool32(m_testConfig.coverageModTableEnableConfig.staticValue);
5383 pCoverageModulation->coverageModulationTableCount = static_cast<uint32_t>(m_testConfig.coverageModTableConfig.staticValue.size());
5384 pCoverageModulation->pCoverageModulationTable = de::dataOrNull(m_testConfig.coverageModTableConfig.staticValue);
5392 pCoverageReduction->coverageReductionMode = m_testConfig.coverageReductionModeConfig.staticValue;
5400 const auto& swizzleVec = m_testConfig.viewportSwizzleConfig.staticValue;
5418 pShadingRateImage->shadingRateImageEnable = makeVkBool32(m_testConfig.shadingRateImageEnableConfig.staticValue);
5431 pViewportWScaling->viewportWScalingEnable = makeVkBool32(m_testConfig.viewportWScalingEnableConfig.staticValue);
5441 pReprFragment->representativeFragmentTestEnable = makeVkBool32(m_testConfig.reprFragTestEnableConfig.staticValue);
5451 m_testConfig.rasterizationSamplesConfig.staticValue, // VkSampleCountFlagBits rasterizationSamples;
5454 de::dataOrNull(m_testConfig.sampleMaskConfig.staticValue), // const VkSampleMask* pSampleMask;
5455 makeVkBool32(m_testConfig.alphaToCoverageConfig.staticValue), // VkBool32 alphaToCoverageEnable;
5456 makeVkBool32(m_testConfig.alphaToOneConfig.staticValue), // VkBool32 alphaToOneEnable;
5471 for (const auto& op : m_testConfig.stencilOpConfig.staticValue)
5496 makeVkBool32(m_testConfig.depthTestEnableConfig.staticValue), // VkBool32 depthTestEnable;
5497 makeVkBool32(m_testConfig.depthWriteEnableConfig.staticValue), // VkBool32 depthWriteEnable;
5498 m_testConfig.depthCompareOpConfig.staticValue, // VkCompareOp depthCompareOp;
5499 makeVkBool32(m_testConfig.depthBoundsTestEnableConfig.staticValue), // VkBool32 depthBoundsTestEnable;
5500 makeVkBool32(m_testConfig.stencilTestEnableConfig.staticValue), // VkBool32 stencilTestEnable;
5503 m_testConfig.depthBoundsConfig.staticValue.first, // float minDepthBounds;
5504 m_testConfig.depthBoundsConfig.staticValue.second, // float maxDepthBounds;
5521 makeVkBool32(m_testConfig.colorBlendEnableConfig.staticValue), // VkBool32 blendEnable
5522 m_testConfig.colorBlendEquationConfig.staticValue.srcColorBlendFactor, // VkBlendFactor srcColorBlendFactor
5523 m_testConfig.colorBlendEquationConfig.staticValue.dstColorBlendFactor, // VkBlendFactor dstColorBlendFactor
5524 m_testConfig.colorBlendEquationConfig.staticValue.colorBlendOp, // VkBlendOp colorBlendOp
5525 m_testConfig.colorBlendEquationConfig.staticValue.srcAlphaBlendFactor, // VkBlendFactor srcAlphaBlendFactor
5526 m_testConfig.colorBlendEquationConfig.staticValue.dstAlphaBlendFactor, // VkBlendFactor dstAlphaBlendFactor
5527 m_testConfig.colorBlendEquationConfig.staticValue.alphaBlendOp, // VkBlendOp alphaBlendOp
5528 m_testConfig.colorWriteMaskConfig.staticValue, // VkColorComponentFlags colorWriteMask
5537 if (m_testConfig.colorBlendEquationConfig.staticValue.isAdvanced())
5546 const std::vector<vk::VkBool32> colorWriteValues (colorBlendAttachmentStateVec.size(), m_testConfig.colorWriteEnableConfig.staticValue);
5571 m_testConfig.logicOpEnableConfig.staticValue, // VkBool32 logicOpEnable
5572 m_testConfig.logicOpConfig.staticValue, // VkLogicOp logicOp
5579 m_testConfig.blendConstantsConfig.staticValue[0],
5580 m_testConfig.blendConstantsConfig.staticValue[1],
5581 m_testConfig.blendConstantsConfig.staticValue[2],
5582 m_testConfig.blendConstantsConfig.staticValue[3],
5609 const auto viewports = m_testConfig.viewportConfig.staticValue;
5610 const auto scissors = m_testConfig.scissorConfig.staticValue;
5638 auto viewports = m_testConfig.viewportConfig.staticValue;
5639 auto scissors = m_testConfig.scissorConfig.staticValue;
5642 const auto minStaticCount = static_cast<deUint32>(std::min(m_testConfig.viewportConfig.staticValue.size(), m_testConfig.scissorConfig.staticValue.size()));
5646 staticPipeline.setDefaultPatchControlPoints(m_testConfig.patchControlPointsConfig.staticValue)
5648 .setDefaultTessellationDomainOrigin(m_testConfig.tessDomainOriginConfig.staticValue);
5686 const vk::ShaderWrapper& fragForStatic = m_testConfig.rastDiscardEnableConfig.staticValue ? emptyFrag : staticFragModule;
5702 auto viewports = m_testConfig.viewportConfig.staticValue;
5703 auto scissors = m_testConfig.scissorConfig.staticValue;
5707 : m_testConfig.viewportConfig.staticValue.size());
5711 : m_testConfig.scissorConfig.staticValue.size());
5739 : m_testConfig.patchControlPointsConfig.staticValue);
5746 .setDefaultTessellationDomainOrigin(m_testConfig.tessDomainOriginConfig.staticValue)
5752 .setDefaultTessellationDomainOrigin(m_testConfig.tessDomainOriginConfig.staticValue)
5864 || !m_testConfig.colorBlendEquationConfig.staticValue.isAdvanced())
5907 auto viewports = m_testConfig.viewportConfig.staticValue;
5908 auto scissors = m_testConfig.scissorConfig.staticValue;
5910 const auto minStaticCount = static_cast<deUint32>(std::min(m_testConfig.viewportConfig.staticValue.size(), m_testConfig.scissorConfig.staticValue.size()));
5915 .setDefaultPatchControlPoints(m_testConfig.patchControlPointsConfig.staticValue)
5989 vkd.cmdSetPatchControlPointsEXT(cmdBuffer, m_testConfig.patchControlPointsConfig.staticValue);
6113 DE_ASSERT(m_testConfig.topologyConfig.staticValue == vk::VK_PRIMITIVE_TOPOLOGY_TRIANGLE_STRIP);
6118 DE_ASSERT(m_testConfig.topologyConfig.staticValue == vk::VK_PRIMITIVE_TOPOLOGY_LINE_STRIP);
6276 DE_ASSERT(!m_testConfig.depthWriteEnableConfig.staticValue); // No depth writes.
6296 (kFramebufferHeight * kFramebufferWidth * static_cast<uint32_t>(m_testConfig.rasterizationSamplesConfig.staticValue)),
6316 testEnabled = m_testConfig.reprFragTestEnableConfig.staticValue;
6321 : m_testConfig.reprFragTestEnableConfig.staticValue);
6362 sampleCount += static_cast<uint32_t>(m_testConfig.rasterizationSamplesConfig.staticValue);
6367 : m_testConfig.rasterizationSamplesConfig.staticValue);
6519 config.cullModeConfig.staticValue = vk::VK_CULL_MODE_FRONT_BIT;
6526 config.cullModeConfig.staticValue = vk::VK_CULL_MODE_FRONT_AND_BACK;
6535 config.cullModeConfig.staticValue = vk::VK_CULL_MODE_BACK_BIT;
6542 config.cullModeConfig.staticValue = vk::VK_CULL_MODE_NONE;
6552 config.cullModeConfig.staticValue = vk::VK_CULL_MODE_BACK_BIT;
6553 config.frontFaceConfig.staticValue = vk::VK_FRONT_FACE_CLOCKWISE;
6562 config.cullModeConfig.staticValue = vk::VK_CULL_MODE_BACK_BIT;
6563 config.frontFaceConfig.staticValue = vk::VK_FRONT_FACE_COUNTER_CLOCKWISE;
6570 config.cullModeConfig.staticValue = vk::VK_CULL_MODE_BACK_BIT;
6571 config.frontFaceConfig.staticValue = vk::VK_FRONT_FACE_COUNTER_CLOCKWISE;
6581 config.cullModeConfig.staticValue = vk::VK_CULL_MODE_BACK_BIT;
6582 config.frontFaceConfig.staticValue = vk::VK_FRONT_FACE_CLOCKWISE;
6592 config.rastDiscardEnableConfig.staticValue = false;
6600 config.rastDiscardEnableConfig.staticValue = true;
6610 config.logicOpEnableConfig.staticValue = true;
6611 config.logicOpConfig.staticValue = vk::VK_LOGIC_OP_CLEAR;
6627 config.logicOpEnableConfig.staticValue = false;
6629 config.logicOpConfig.staticValue = vk::VK_LOGIC_OP_OR;
6642 config.logicOpEnableConfig.staticValue = true;
6644 config.logicOpConfig.staticValue = vk::VK_LOGIC_OP_OR;
6660 config.colorBlendEquationConfig.staticValue = ColorBlendEq(vk::VK_BLEND_FACTOR_ZERO,
6667 config.colorBlendEnableConfig.staticValue = false;
6678 config.colorBlendEquationConfig.staticValue = ColorBlendEq(vk::VK_BLEND_FACTOR_ZERO,
6685 config.colorBlendEnableConfig.staticValue = true;
6714 config.colorBlendEquationConfig.staticValue = ColorBlendEq(vk::VK_BLEND_FACTOR_ZERO,
6731 config.colorBlendEnableConfig.staticValue = !enableStateValue;
6733 config.colorWriteMaskConfig.staticValue = ( 0 | 0 | 0 | 0);
6735 config.blendConstantsConfig.staticValue = BlendConstArray{1.0f, 1.0f, 1.0f, 1.0f};
6740 config.colorWriteEnableConfig.staticValue = false;
6746 config.logicOpEnableConfig.staticValue = true;
6748 config.logicOpConfig.staticValue = vk::VK_LOGIC_OP_COPY;
6754 config.colorBlendEnableConfig.staticValue = enableStateValue;
6794 config.colorBlendEquationConfig.staticValue = ColorBlendEq(vk::VK_BLEND_FACTOR_ZERO,
6811 config.colorBlendEnableConfig.staticValue = !enableStateValue;
6813 config.colorWriteMaskConfig.staticValue = ( 0 | 0 | 0 | 0);
6815 config.blendConstantsConfig.staticValue = BlendConstArray{1.0f, 1.0f, 1.0f, 1.0f};
6820 config.colorWriteEnableConfig.staticValue = false;
6826 config.logicOpEnableConfig.staticValue = true;
6828 config.logicOpConfig.staticValue = vk::VK_LOGIC_OP_COPY;
6834 config.colorBlendEnableConfig.staticValue = true;
6871 config.colorBlendEnableConfig.staticValue = colorBlendEnableStatic;
6874 config.colorWriteMaskConfig.staticValue = ( 0 | 0 | 0 | 0);
6876 config.blendConstantsConfig.staticValue = BlendConstArray{1.0f, 1.0f, 1.0f, 1.0f};
6880 config.colorWriteEnableConfig.staticValue = false;
6884 config.logicOpEnableConfig.staticValue = true;
6886 config.logicOpConfig.staticValue = vk::VK_LOGIC_OP_COPY;
6890 config.colorBlendEquationConfig.staticValue = ColorBlendEq(vk::VK_BLEND_FACTOR_ONE,
6959 config.colorBlendEnableConfig.staticValue = true;
6960 config.colorBlendEquationConfig.staticValue = staticEq;
6975 config.colorBlendEquationConfig.staticValue = ColorBlendEq(vk::VK_BLEND_FACTOR_ZERO,
6990 config.colorBlendEnableConfig.staticValue = false;
6993 config.colorWriteMaskConfig.staticValue = ( 0 | 0 | 0 | 0);
7012 config.topologyConfig.staticValue = vk::VK_PRIMITIVE_TOPOLOGY_LINE_STRIP;
7014 config.primRestartEnableConfig.staticValue = false;
7032 config.topologyConfig.staticValue = vk::VK_PRIMITIVE_TOPOLOGY_PATCH_LIST;
7033 config.patchControlPointsConfig.staticValue = 1;
7042 config.topologyConfig.staticValue = vk::VK_PRIMITIVE_TOPOLOGY_PATCH_LIST;
7043 config.patchControlPointsConfig.staticValue = 1;
7058 config.topologyConfig.staticValue = vk::VK_PRIMITIVE_TOPOLOGY_PATCH_LIST;
7059 config.patchControlPointsConfig.staticValue = 3;
7060 config.tessDomainOriginConfig.staticValue = vk::VK_TESSELLATION_DOMAIN_ORIGIN_UPPER_LEFT;
7062 config.cullModeConfig.staticValue = vk::VK_CULL_MODE_BACK_BIT;
7069 config.topologyConfig.staticValue = vk::VK_PRIMITIVE_TOPOLOGY_PATCH_LIST;
7070 config.patchControlPointsConfig.staticValue = 3;
7071 config.tessDomainOriginConfig.staticValue = vk::VK_TESSELLATION_DOMAIN_ORIGIN_LOWER_LEFT;
7073 config.cullModeConfig.staticValue = vk::VK_CULL_MODE_FRONT_BIT;
7111 config.topologyConfig.staticValue = kTopologyCase.staticVal;
7113 config.primRestartEnableConfig.staticValue = (topologyClass == TopologyClass::LINE);
7114 config.patchControlPointsConfig.staticValue = (config.needsTessellation() ? 3u : 1u);
7130 config.primRestartEnableConfig.staticValue = true;
7131 config.topologyConfig.staticValue = vk::VK_PRIMITIVE_TOPOLOGY_LINE_STRIP;
7132 config.lineStippleEnableConfig.staticValue = true;
7134 config.lineStippleParamsConfig.staticValue = LineStippleParams{1u, 0x5555u};
7150 config.primRestartEnableConfig.staticValue = true;
7151 config.topologyConfig.staticValue = vk::VK_PRIMITIVE_TOPOLOGY_LINE_STRIP;
7152 config.lineStippleEnableConfig.staticValue = true;
7153 config.lineStippleParamsConfig.staticValue = LineStippleParams{1u, 0x5555u};
7165 config.topologyConfig.staticValue = vk::VK_PRIMITIVE_TOPOLOGY_LINE_STRIP;
7168 config.lineStippleEnableConfig.staticValue = false;
7169 config.lineStippleParamsConfig.staticValue = LineStippleParams{0u, 0u};
7170 config.lineRasterModeConfig.staticValue = LineRasterizationMode::RECTANGULAR;
7184 config.topologyConfig.staticValue = vk::VK_PRIMITIVE_TOPOLOGY_LINE_STRIP;
7187 config.lineStippleEnableConfig.staticValue = false;
7188 config.lineStippleParamsConfig.staticValue = LineStippleParams{0u, 0u};
7189 config.lineRasterModeConfig.staticValue = LineRasterizationMode::BRESENHAM;
7200 config.scissorConfig.staticValue = ScissorVec{vk::makeRect2D(0, 0, kHalfWidthU, kFramebufferHeight), vk::makeRect2D(kHalfWidthI, 0, kHalfWidthU, kFramebufferHeight)};
7201 config.viewportConfig.staticValue = ViewportVec(1u, vk::makeViewport(kHalfWidthU, kFramebufferHeight));
7212 config.viewportConfig.staticValue = ViewportVec(1u, vk::makeViewport(kHalfWidthU, kFramebufferHeight));
7213 config.viewportConfig.staticValue = ViewportVec(1u, vk::makeViewport(kFramebufferWidth, kFramebufferHeight));
7220 config.scissorConfig.staticValue = ScissorVec{vk::makeRect2D(0, 0, kHalfWidthU, kFramebufferHeight), vk::makeRect2D(kHalfWidthI, 0, kHalfWidthU, kFramebufferHeight)};
7221 config.viewportConfig.staticValue = ViewportVec{
7225 config.viewportConfig.dynamicValue = ViewportVec{config.viewportConfig.staticValue.back(), config.viewportConfig.staticValue.front()};
7232 config.scissorConfig.staticValue = ScissorVec{vk::makeRect2D(0, 0, kHalfWidthU, kFramebufferHeight), vk::makeRect2D(kHalfWidthI, 0, kHalfWidthU, kFramebufferHeight)};
7233 config.viewportConfig.staticValue = ViewportVec{
7237 config.viewportConfig.dynamicValue = ViewportVec{config.viewportConfig.staticValue.back(), config.viewportConfig.staticValue.front()};
7247 config.viewportConfig.staticValue = ViewportVec{
7251 config.scissorConfig.staticValue = ScissorVec(1u, vk::makeRect2D(kHalfWidthI, 0, kHalfWidthU, kFramebufferHeight));
7262 config.scissorConfig.staticValue = ScissorVec(1u, vk::makeRect2D(kHalfWidthI, 0, kHalfWidthU, kFramebufferHeight));
7270 config.viewportConfig.staticValue = ViewportVec{
7274 config.scissorConfig.staticValue = ScissorVec{
7278 config.scissorConfig.dynamicValue = ScissorVec{config.scissorConfig.staticValue.back(), config.scissorConfig.staticValue.front()};
7285 config.viewportConfig.staticValue = ViewportVec{
7289 config.scissorConfig.staticValue = ScissorVec{
7293 config.scissorConfig.dynamicValue = ScissorVec{config.scissorConfig.staticValue.back(), config.scissorConfig.staticValue.front()};
7337 config.strideConfig.staticValue = halfStrides;
7345 config.strideConfig.staticValue = halfStrides;
7354 config.strideConfig.staticValue = halfStrides;
7378 config.strideConfig.staticValue = config.getActiveVertexGenerator()->getVertexDataStrides();
7401 config.depthTestEnableConfig.staticValue = false;
7410 config.depthTestEnableConfig.staticValue = true;
7421 config.depthTestEnableConfig.staticValue = true;
7422 config.depthCompareOpConfig.staticValue = vk::VK_COMPARE_OP_LESS;
7427 config.depthWriteEnableConfig.staticValue = false;
7438 config.depthTestEnableConfig.staticValue = true;
7439 config.depthCompareOpConfig.staticValue = vk::VK_COMPARE_OP_LESS;
7444 config.depthWriteEnableConfig.staticValue = true;
7460 config.depthTestEnableConfig.staticValue = true;
7461 config.depthWriteEnableConfig.staticValue = true;
7462 config.depthCompareOpConfig.staticValue = vk::VK_COMPARE_OP_LESS;
7463 config.viewportConfig.staticValue = ViewportVec(1u, vk::makeViewport(0.0f, 0.0f, kWidthF, kHeightF, 0.0f, 0.5f));
7466 config.depthClampEnableConfig.staticValue = false;
7478 config.depthTestEnableConfig.staticValue = true;
7479 config.depthWriteEnableConfig.staticValue = true;
7480 config.depthCompareOpConfig.staticValue = vk::VK_COMPARE_OP_LESS;
7481 config.viewportConfig.staticValue = ViewportVec(1u, vk::makeViewport(0.0f, 0.0f, kWidthF, kHeightF, 0.0f, 0.5f));
7485 config.depthClampEnableConfig.staticValue = true;
7507 config.depthTestEnableConfig.staticValue = true;
7508 config.depthWriteEnableConfig.staticValue = true;
7509 config.depthCompareOpConfig.staticValue = vk::VK_COMPARE_OP_ALWAYS;
7510 config.viewportConfig.staticValue = ViewportVec(1u, vk::makeViewport(0.0f, 0.0f, kWidthF, kHeightF, 0.5f, 1.0f));
7513 config.depthClampEnableConfig.staticValue = false;
7524 config.depthTestEnableConfig.staticValue = true;
7525 config.depthWriteEnableConfig.staticValue = true;
7526 config.depthCompareOpConfig.staticValue = vk::VK_COMPARE_OP_ALWAYS;
7527 config.viewportConfig.staticValue = ViewportVec(1u, vk::makeViewport(0.0f, 0.0f, kWidthF, kHeightF, 0.5f, 1.0f));
7532 config.depthClampEnableConfig.staticValue = false;
7534 config.depthClipEnableConfig.staticValue = OptBoolean(true);
7544 config.depthTestEnableConfig.staticValue = true;
7545 config.depthWriteEnableConfig.staticValue = true;
7546 config.depthCompareOpConfig.staticValue = vk::VK_COMPARE_OP_ALWAYS;
7547 config.viewportConfig.staticValue = ViewportVec(1u, vk::makeViewport(0.0f, 0.0f, kWidthF, kHeightF, 0.5f, 1.0f));
7551 config.depthClampEnableConfig.staticValue = true;
7554 config.depthClipEnableConfig.staticValue = OptBoolean(true);
7568 config.polygonModeConfig.staticValue = vk::VK_POLYGON_MODE_FILL;
7579 config.polygonModeConfig.staticValue = vk::VK_POLYGON_MODE_POINT;
7602 config.rasterizationSamplesConfig.staticValue = inactiveSampleCount;
7613 config.sampleMaskConfig.staticValue = SampleMaskVec(1u, 0u);
7622 config.sampleMaskConfig.staticValue = SampleMaskVec(1u, 0xFFu);
7636 config.alphaToCoverageConfig.staticValue = false;
7648 config.alphaToCoverageConfig.staticValue = true;
7662 config.alphaToOneConfig.staticValue = false;
7674 config.alphaToOneConfig.staticValue = true;
7693 config.sampleMaskConfig.staticValue = SampleMaskVec(1u, 0u);
7713 config.rasterizationSamplesConfig.staticValue = kLargeRasterizationSampleCount;
7715 config.sampleMaskConfig.staticValue = SampleMaskVec{ 0xFFFFFFF0u, 0xFFFFFFFFu }; // Last 4 bits off.
7721 config.sampleMaskConfig.staticValue = SampleMaskVec{ 0xFu, 0u }; // Last 4 bits on.
7755 config.colorWriteMaskConfig.staticValue = colorCompCase.staticVal;
7799 config.rasterizationStreamConfig.staticValue = rastStreamCase.staticVal;
7837 config.provokingVertexConfig.staticValue = provokingVtxCase.staticVal;
7871 config.negativeOneToOneConfig.staticValue = negOneToOneCase.staticVal;
7875 config.depthTestEnableConfig.staticValue = true;
7876 config.depthWriteEnableConfig.staticValue = true;
7877 config.depthCompareOpConfig.staticValue = vk::VK_COMPARE_OP_LESS;
7911 config.depthClipEnableConfig.staticValue = depthClipEnableCase.staticVal;
7917 config.depthTestEnableConfig.staticValue = true;
7918 config.depthWriteEnableConfig.staticValue = true;
7919 config.depthCompareOpConfig.staticValue = vk::VK_COMPARE_OP_LESS;
7921 config.viewportConfig.staticValue = ViewportVec(1u, vk::makeViewport(0.0f, 0.0f, kWidthF, kHeightF, 0.5f, 1.0f));
7939 config.sampleLocationsEnableConfig.staticValue = false;
7967 config.coverageToColorEnableConfig.staticValue = !covToColor;
7998 config.coverageToColorEnableConfig.staticValue = true;
7999 config.coverageToColorLocationConfig.staticValue = (locationLast ? 0u : colorAttCount - 1u);
8044 config.coverageModulationModeConfig.staticValue = modulationModeCase.staticVal;
8072 config.coverageModulationModeConfig.staticValue = vk::VK_COVERAGE_MODULATION_MODE_RGB_NV;
8073 config.coverageModTableConfig.staticValue = table;
8075 config.coverageModTableEnableConfig.staticValue = false;
8111 config.coverageModulationModeConfig.staticValue = vk::VK_COVERAGE_MODULATION_MODE_RGB_NV;
8112 config.coverageModTableEnableConfig.staticValue = true;
8118 config.coverageModTableConfig.staticValue = badTable;
8151 config.coverageReductionModeConfig.staticValue = vk::VK_COVERAGE_REDUCTION_MODE_MERGE_NV;
8179 config.cullModeConfig.staticValue = vk::VK_CULL_MODE_BACK_BIT;
8197 config.viewportSwizzleConfig.staticValue = ViewportSwzVec(1u, idSwizzle);
8199 config.frontFaceConfig.staticValue = vk::VK_FRONT_FACE_CLOCKWISE;
8205 config.frontFaceConfig.staticValue = vk::VK_FRONT_FACE_COUNTER_CLOCKWISE;
8222 config.shadingRateImageEnableConfig.staticValue = !sriEnable;
8241 config.viewportWScalingEnableConfig.staticValue = !wScalingEnable;
8258 config.depthTestEnableConfig.staticValue = true;
8259 config.depthCompareOpConfig.staticValue = vk::VK_COMPARE_OP_LESS;
8260 config.colorWriteMaskConfig.staticValue = 0u; // Disable color writes.
8265 config.reprFragTestEnableConfig.staticValue = !reprFragTestEnable;
8280 config.extraPrimitiveOverEstConfig.staticValue = 0.0f;
8281 config.conservativeRasterModeConfig.staticValue = vk::VK_CONSERVATIVE_RASTERIZATION_MODE_DISABLED_EXT;
8298 config.extraPrimitiveOverEstConfig.staticValue = 0.0f;
8299 config.conservativeRasterModeConfig.staticValue = vk::VK_CONSERVATIVE_RASTERIZATION_MODE_DISABLED_EXT;
8319 config.conservativeRasterModeConfig.staticValue = vk::VK_CONSERVATIVE_RASTERIZATION_MODE_OVERESTIMATE_EXT;
8320 config.extraPrimitiveOverEstConfig.staticValue = 0.0f;
8345 config.depthTestEnableConfig.staticValue = true;
8346 config.depthWriteEnableConfig.staticValue = true;
8347 config.depthCompareOpConfig.staticValue = vk::VK_COMPARE_OP_ALWAYS;
8356 config.depthBiasConfig.staticValue = kNoDepthBiasParams;
8361 config.depthBiasConfig.staticValue = kAlternativeDepthBiasParams;
8364 config.depthBiasEnableConfig.staticValue = false;
8381 config.depthTestEnableConfig.staticValue = true;
8382 config.depthWriteEnableConfig.staticValue = true;
8383 config.depthCompareOpConfig.staticValue = vk::VK_COMPARE_OP_ALWAYS;
8392 config.depthBiasConfig.staticValue = kNoDepthBiasParams;
8397 config.depthBiasConfig.staticValue = kAlternativeDepthBiasParams;
8400 config.depthBiasEnableConfig.staticValue = true;
8422 config.depthTestEnableConfig.staticValue = true;
8423 config.depthWriteEnableConfig.staticValue = true;
8424 config.depthCompareOpConfig.staticValue = vk::VK_COMPARE_OP_ALWAYS;
8448 config.depthBiasEnableConfig.staticValue = true;
8449 config.depthBiasConfig.staticValue = kNoDepthBiasParams;
8461 config.depthTestEnableConfig.staticValue = true;
8462 config.depthWriteEnableConfig.staticValue = true;
8463 config.depthCompareOpConfig.staticValue = vk::VK_COMPARE_OP_ALWAYS;
8475 config.depthBiasEnableConfig.staticValue = true;
8476 config.depthBiasConfig.staticValue = kNoDepthBiasParams;
8490 baseConfig.depthTestEnableConfig.staticValue = true;
8491 baseConfig.depthWriteEnableConfig.staticValue = true;
8492 baseConfig.depthCompareOpConfig.staticValue = vk::VK_COMPARE_OP_NEVER;
8497 config.depthCompareOpConfig.staticValue = vk::VK_COMPARE_OP_ALWAYS;
8627 baseConfig.depthBoundsConfig.staticValue = std::make_pair(0.25f, 0.75f);
8632 config.depthBoundsTestEnableConfig.staticValue = false;
8640 config.depthBoundsTestEnableConfig.staticValue = true;
8650 config.stencilTestEnableConfig.staticValue = false;
8652 config.stencilOpConfig.staticValue.front().compareOp = vk::VK_COMPARE_OP_NEVER;
8659 config.stencilTestEnableConfig.staticValue = true;
8661 config.stencilOpConfig.staticValue.front().compareOp = vk::VK_COMPARE_OP_NEVER;
8791 config.stencilTestEnableConfig.staticValue = true;
8836 auto& staticStencilConfig = config.stencilOpConfig.staticValue.front();
8863 config.depthTestEnableConfig.staticValue = true;
8865 config.depthCompareOpConfig.staticValue = vk::VK_COMPARE_OP_LESS;
8919 config.strideConfig.staticValue = badStrides;
8935 config.strideConfig.staticValue = badStrides;
8986 config.topologyConfig.staticValue = vk::VK_PRIMITIVE_TOPOLOGY_LINE_LIST;
8989 config.primRestartEnableConfig.staticValue = false;
8999 config.topologyConfig.staticValue = vk::VK_PRIMITIVE_TOPOLOGY_PATCH_LIST;
9000 config.patchControlPointsConfig.staticValue = 1;
9009 config.viewportConfig.staticValue = ViewportVec{
9014 config.scissorConfig.staticValue = ScissorVec{
9019 config.scissorConfig.dynamicValue = ScissorVec{config.scissorConfig.staticValue.back(), config.scissorConfig.staticValue.front()};
9020 config.viewportConfig.dynamicValue = ViewportVec{config.viewportConfig.staticValue.back(), config.viewportConfig.staticValue.front()};
9028 config.depthClampEnableConfig.staticValue = true;
9030 config.rastDiscardEnableConfig.staticValue = true;
9032 config.polygonModeConfig.staticValue = vk::VK_POLYGON_MODE_POINT;
9034 config.cullModeConfig.staticValue = vk::VK_CULL_MODE_FRONT_AND_BACK;
9036 config.frontFaceConfig.staticValue = vk::VK_FRONT_FACE_CLOCKWISE;
9038 config.depthBiasEnableConfig.staticValue = true;
9040 config.depthBiasConfig.staticValue = DepthBiasParams{1.0f, 1.0f};
9042 config.lineWidthConfig.staticValue = 0.0f;
9050 config.rasterizationSamplesConfig.staticValue = kMultiSampleCount;
9052 config.sampleMaskConfig.staticValue = SampleMaskVec(1u, 0u);
9054 config.alphaToCoverageConfig.staticValue = true;
9056 config.alphaToOneConfig.staticValue = true;
9064 config.depthTestEnableConfig.staticValue = true;
9066 config.depthWriteEnableConfig.staticValue = true;
9068 config.depthCompareOpConfig.staticValue = vk::VK_COMPARE_OP_NEVER;
9070 config.depthBoundsTestEnableConfig.staticValue = true;
9072 config.stencilTestEnableConfig.staticValue = true;
9074 config.stencilOpConfig.staticValue = StencilOpVec(1u, StencilOpParams{vk::VK_STENCIL_FACE_FRONT_AND_BACK, vk::VK_STENCIL_OP_INVERT, vk::VK_STENCIL_OP_INVERT, vk::VK_STENCIL_OP_INVERT, vk::VK_COMPARE_OP_NEVER});
9076 config.depthBoundsConfig.staticValue = std::make_pair(1.0f, 1.0f);
9085 config.logicOpEnableConfig.staticValue = true;
9087 config.logicOpConfig.staticValue = vk::VK_LOGIC_OP_CLEAR;
9089 config.colorBlendEnableConfig.staticValue = true;
9091 config.colorBlendEquationConfig.staticValue = ColorBlendEq();
9093 config.colorWriteMaskConfig.staticValue = 0u;
9095 config.blendConstantsConfig.staticValue = BlendConstArray{1.0f, 1.0f, 1.0f, 1.0f};
9108 config.rasterizationSamplesConfig.staticValue = kSingleSampleCount;