/third_party/vk-gl-cts/modules/glshared/ |
H A D | glsInteractionTestUtil.cpp | 84 static const deUint32 stencilOps[] = in computeRandomRenderState() local 177 state.stencil[ndx].stencilFailOp = rnd.choose<deUint32>(DE_ARRAY_BEGIN(stencilOps), DE_ARRAY_END(stencilOps)); in computeRandomRenderState() 178 state.stencil[ndx].depthFailOp = rnd.choose<deUint32>(DE_ARRAY_BEGIN(stencilOps), DE_ARRAY_END(stencilOps)); in computeRandomRenderState() 179 state.stencil[ndx].depthPassOp = rnd.choose<deUint32>(DE_ARRAY_BEGIN(stencilOps), DE_ARRAY_END(stencilOps)); in computeRandomRenderState()
|
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/ |
H A D | vktPipelineStencilTests.cpp | 185 const VkStencilOp stencilOps[] = member 211 const deUint32 StencilOpStateUniqueRandomIterator::s_stencilOpsLength = DE_LENGTH_OF_ARRAY(stencilOps); 237 stencilOps[stencilFailOpIndex], // VkStencilOp failOp; in getIndexedValue() 238 stencilOps[stencilPassOpIndex], // VkStencilOp passOp; in getIndexedValue() 239 stencilOps[stencilDepthFailOpIndex], // VkStencilOp depthFailOp; in getIndexedValue() 1004 for (deUint32 failOpNdx = 0u; failOpNdx < DE_LENGTH_OF_ARRAY(stencilOps); failOpNdx++) in createStencilTests() 1006 const std::string failOpName = std::string("fail_") + getShortName(stencilOps[failOpNdx]); in createStencilTests() 1009 for (deUint32 passOpNdx = 0u; passOpNdx < DE_LENGTH_OF_ARRAY(stencilOps); passOpNdx++) in createStencilTests() 1011 const std::string passOpName = std::string("pass_") + getShortName(stencilOps[passOpNdx]); in createStencilTests() 1014 for (deUint32 dFailOpNdx = 0u; dFailOpNdx < DE_LENGTH_OF_ARRAY(stencilOps); dFailOpNd in createStencilTests() [all...] |
H A D | vktPipelineExtendedDynamicStateTests.cpp | 8844 StencilOpVec stencilOps; in createExtendedDynamicStateTests() local 8845 stencilOps.push_back(dynamicStencilConfig); in createExtendedDynamicStateTests() 8847 if (stencilOps.front().faceMask == vk::VK_STENCIL_FACE_FLAG_BITS_MAX_ENUM) in createExtendedDynamicStateTests() 8850 stencilOps.push_back(stencilOps.front()); in createExtendedDynamicStateTests() 8851 stencilOps.front().faceMask = vk::VK_STENCIL_FACE_FRONT_BIT; in createExtendedDynamicStateTests() 8852 stencilOps.back().faceMask = vk::VK_STENCIL_FACE_BACK_BIT; in createExtendedDynamicStateTests() 8856 config.stencilOpConfig.dynamicValue = tcu::just(stencilOps); in createExtendedDynamicStateTests()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/ |
H A D | vktPipelineStencilTests.cpp | 184 const VkStencilOp stencilOps[] = member 210 const deUint32 StencilOpStateUniqueRandomIterator::s_stencilOpsLength = DE_LENGTH_OF_ARRAY(stencilOps); 236 stencilOps[stencilFailOpIndex], // VkStencilOp failOp; in getIndexedValue() 237 stencilOps[stencilPassOpIndex], // VkStencilOp passOp; in getIndexedValue() 238 stencilOps[stencilDepthFailOpIndex], // VkStencilOp depthFailOp; in getIndexedValue() 1009 for (deUint32 failOpNdx = 0u; failOpNdx < DE_LENGTH_OF_ARRAY(stencilOps); failOpNdx++) in createStencilTests() 1011 const std::string failOpName = std::string("fail_") + getShortName(stencilOps[failOpNdx]); in createStencilTests() 1014 for (deUint32 passOpNdx = 0u; passOpNdx < DE_LENGTH_OF_ARRAY(stencilOps); passOpNdx++) in createStencilTests() 1016 const std::string passOpName = std::string("pass_") + getShortName(stencilOps[passOpNdx]); in createStencilTests() 1019 for (deUint32 dFailOpNdx = 0u; dFailOpNdx < DE_LENGTH_OF_ARRAY(stencilOps); dFailOpNd in createStencilTests() [all...] |
H A D | vktPipelineExtendedDynamicStateTests.cpp | 7204 StencilOpVec stencilOps; in createExtendedDynamicStateTests() local 7205 stencilOps.push_back(dynamicStencilConfig); in createExtendedDynamicStateTests() 7207 if (stencilOps.front().faceMask == vk::VK_STENCIL_FACE_FLAG_BITS_MAX_ENUM) in createExtendedDynamicStateTests() 7210 stencilOps.push_back(stencilOps.front()); in createExtendedDynamicStateTests() 7211 stencilOps.front().faceMask = vk::VK_STENCIL_FACE_FRONT_BIT; in createExtendedDynamicStateTests() 7212 stencilOps.back().faceMask = vk::VK_STENCIL_FACE_BACK_BIT; in createExtendedDynamicStateTests() 7216 config.stencilOpConfig.dynamicValue = tcu::just(stencilOps); in createExtendedDynamicStateTests()
|
/third_party/skia/src/gpu/vk/ |
H A D | GrVkResourceProvider.cpp | 184 const GrVkRenderPass::LoadStoreOps& stencilOps, in findRenderPass() 199 return this->findRenderPass(*pRPHandle, colorOps, resolveOps, stencilOps); in findRenderPass() 206 const GrVkRenderPass::LoadStoreOps& stencilOps) { in findRenderPass() 212 stencilOps); in findRenderPass() 622 const GrVkRenderPass::LoadStoreOps& stencilOps) { in getRenderPass() 625 if (fRenderPasses[idx]->equalLoadStoreOps(colorOps, resolveOps, stencilOps)) { in getRenderPass() 631 colorOps, resolveOps, stencilOps); in getRenderPass() 180 findRenderPass( GrVkRenderTarget* target, const GrVkRenderPass::LoadStoreOps& colorOps, const GrVkRenderPass::LoadStoreOps& resolveOps, const GrVkRenderPass::LoadStoreOps& stencilOps, CompatibleRPHandle* compatibleHandle, bool withResolve, bool withStencil, SelfDependencyFlags selfDepFlags, LoadFromResolve loadFromResolve) findRenderPass() argument 203 findRenderPass(const CompatibleRPHandle& compatibleHandle, const GrVkRenderPass::LoadStoreOps& colorOps, const GrVkRenderPass::LoadStoreOps& resolveOps, const GrVkRenderPass::LoadStoreOps& stencilOps) findRenderPass() argument 618 getRenderPass( GrVkGpu* gpu, const GrVkRenderPass::LoadStoreOps& colorOps, const GrVkRenderPass::LoadStoreOps& resolveOps, const GrVkRenderPass::LoadStoreOps& stencilOps) getRenderPass() argument
|
H A D | GrVkResourceProvider.h | 95 const GrVkRenderPass::LoadStoreOps& stencilOps, 107 const GrVkRenderPass::LoadStoreOps& stencilOps); 287 const GrVkRenderPass::LoadStoreOps& stencilOps);
|
H A D | GrVkRenderPass.h | 148 const LoadStoreOps& stencilOps) const; 185 const LoadStoreOps& stencilOps,
|
H A D | GrVkRenderPass.cpp | 432 const LoadStoreOps& stencilOps) const { in equalLoadStoreOps() 445 if (fAttachmentsDescriptor.fStencil.fLoadStoreOps != stencilOps) { in equalLoadStoreOps()
|
/third_party/vk-gl-cts/modules/gles2/functional/ |
H A D | es2fDepthStencilTests.cpp | 741 static const deUint32 stencilOps[] = in randomDepthStencilState() local 766 params.stencil[ndx].stencilFailOp = rnd.choose<deUint32>(DE_ARRAY_BEGIN(stencilOps), DE_ARRAY_END(stencilOps)); in randomDepthStencilState() 767 params.stencil[ndx].depthFailOp = rnd.choose<deUint32>(DE_ARRAY_BEGIN(stencilOps), DE_ARRAY_END(stencilOps)); in randomDepthStencilState() 768 params.stencil[ndx].depthPassOp = rnd.choose<deUint32>(DE_ARRAY_BEGIN(stencilOps), DE_ARRAY_END(stencilOps)); in randomDepthStencilState() 803 } stencilOps[] = 918 for (int sFail = 0; sFail < DE_LENGTH_OF_ARRAY(stencilOps); sFail++) 920 for (int dFail = 0; dFail < DE_LENGTH_OF_ARRAY(stencilOps); dFai [all...] |
H A D | es2fIntegerStateQueryTests.cpp | 2123 } stencilOps[] = in init() local 2130 for (int testNdx = 0; testNdx < DE_LENGTH_OF_ARRAY(stencilOps); testNdx++) in init() 2132 FOR_EACH_VERIFIER(normalVerifiers, addChild(new StencilOpTestCase (m_context, verifier, (std::string("stencil_") + stencilOps[testNdx].name + verifier->getTestNamePostfix()).c_str(), stencilOps[testNdx].frontDescription, stencilOps[testNdx].frontTarget))); in init() 2133 FOR_EACH_VERIFIER(normalVerifiers, addChild(new StencilOpTestCase (m_context, verifier, (std::string("stencil_back_") + stencilOps[testNdx].name + verifier->getTestNamePostfix()).c_str(), stencilOps[testNdx].backDescription, stencilOps[testNdx].backTarget))); in init() 2135 FOR_EACH_VERIFIER(normalVerifiers, addChild(new StencilOpSeparateTestCase (m_context, verifier, (std::string("stencil_") + stencilOps[testNdx].name + "_separate_both" + verifier->getTestNamePostfix()).c_str(), stencilOps[testNd in init() [all...] |
/third_party/vk-gl-cts/modules/gles3/functional/ |
H A D | es3fDepthStencilTests.cpp | 741 static const deUint32 stencilOps[] = in randomDepthStencilState() local 766 params.stencil[ndx].stencilFailOp = rnd.choose<deUint32>(DE_ARRAY_BEGIN(stencilOps), DE_ARRAY_END(stencilOps)); in randomDepthStencilState() 767 params.stencil[ndx].depthFailOp = rnd.choose<deUint32>(DE_ARRAY_BEGIN(stencilOps), DE_ARRAY_END(stencilOps)); in randomDepthStencilState() 768 params.stencil[ndx].depthPassOp = rnd.choose<deUint32>(DE_ARRAY_BEGIN(stencilOps), DE_ARRAY_END(stencilOps)); in randomDepthStencilState() 803 } stencilOps[] = 918 for (int sFail = 0; sFail < DE_LENGTH_OF_ARRAY(stencilOps); sFail++) 920 for (int dFail = 0; dFail < DE_LENGTH_OF_ARRAY(stencilOps); dFai [all...] |
H A D | es3fIntegerStateQueryTests.cpp | 2883 } stencilOps[] = in init() local 2890 for (int testNdx = 0; testNdx < DE_LENGTH_OF_ARRAY(stencilOps); testNdx++) in init() 2892 FOR_EACH_VERIFIER(normalVerifiers, addChild(new StencilOpTestCase (m_context, verifier, (std::string("stencil_") + stencilOps[testNdx].name + verifier->getTestNamePostfix()).c_str(), stencilOps[testNdx].frontDescription, stencilOps[testNdx].frontTarget))); in init() 2893 FOR_EACH_VERIFIER(normalVerifiers, addChild(new StencilOpTestCase (m_context, verifier, (std::string("stencil_back_") + stencilOps[testNdx].name + verifier->getTestNamePostfix()).c_str(), stencilOps[testNdx].backDescription, stencilOps[testNdx].backTarget))); in init() 2895 FOR_EACH_VERIFIER(normalVerifiers, addChild(new StencilOpSeparateTestCase (m_context, verifier, (std::string("stencil_") + stencilOps[testNdx].name + "_separate_both" + verifier->getTestNamePostfix()).c_str(), stencilOps[testNd in init() [all...] |