Home
last modified time | relevance | path

Searched refs:stencilOps (Results 1 – 15 of 15) sorted by relevance

/third_party/vk-gl-cts/modules/glshared/
DglsInteractionTestUtil.cpp84 static const deUint32 stencilOps[] = in computeRandomRenderState() local
177 …il[ndx].stencilFailOp = rnd.choose<deUint32>(DE_ARRAY_BEGIN(stencilOps), DE_ARRAY_END(stencilOps)); in computeRandomRenderState()
178 …cil[ndx].depthFailOp = rnd.choose<deUint32>(DE_ARRAY_BEGIN(stencilOps), DE_ARRAY_END(stencilOps)); in computeRandomRenderState()
179 …cil[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/
DvktPipelineStencilTests.cpp182 const VkStencilOp stencilOps[] = variable
208 … deUint32 StencilOpStateUniqueRandomIterator::s_stencilOpsLength = DE_LENGTH_OF_ARRAY(stencilOps);
234 stencilOps[stencilFailOpIndex], // VkStencilOp failOp; in getIndexedValue()
235 stencilOps[stencilPassOpIndex], // VkStencilOp passOp; in getIndexedValue()
236 stencilOps[stencilDepthFailOpIndex], // VkStencilOp depthFailOp; in getIndexedValue()
979 for (deUint32 failOpNdx = 0u; failOpNdx < DE_LENGTH_OF_ARRAY(stencilOps); failOpNdx++) in createStencilTests()
981 const std::string failOpName = std::string("fail_") + getShortName(stencilOps[failOpNdx]); in createStencilTests()
984 for (deUint32 passOpNdx = 0u; passOpNdx < DE_LENGTH_OF_ARRAY(stencilOps); passOpNdx++) in createStencilTests()
986 const std::string passOpName = std::string("pass_") + getShortName(stencilOps[passOpNdx]); in createStencilTests()
989 for (deUint32 dFailOpNdx = 0u; dFailOpNdx < DE_LENGTH_OF_ARRAY(stencilOps); dFailOpNdx++) in createStencilTests()
[all …]
DvktPipelineExtendedDynamicStateTests.cpp3396 StencilOpVec stencilOps; in createExtendedDynamicStateTests() local
3397 stencilOps.push_back(dynamicStencilConfig); in createExtendedDynamicStateTests()
3399 if (stencilOps.front().faceMask == vk::VK_STENCIL_FACE_FLAG_BITS_MAX_ENUM) in createExtendedDynamicStateTests()
3402 stencilOps.push_back(stencilOps.front()); in createExtendedDynamicStateTests()
3403 stencilOps.front().faceMask = vk::VK_STENCIL_FACE_FRONT_BIT; in createExtendedDynamicStateTests()
3404 stencilOps.back().faceMask = vk::VK_STENCIL_FACE_BACK_BIT; in createExtendedDynamicStateTests()
3408 config.stencilOpConfig.dynamicValue = tcu::just(stencilOps); in createExtendedDynamicStateTests()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fDepthStencilTests.cpp741 static const deUint32 stencilOps[] = in randomDepthStencilState() local
766 …il[ndx].stencilFailOp = rnd.choose<deUint32>(DE_ARRAY_BEGIN(stencilOps), DE_ARRAY_END(stencilOps)); in randomDepthStencilState()
767 …cil[ndx].depthFailOp = rnd.choose<deUint32>(DE_ARRAY_BEGIN(stencilOps), DE_ARRAY_END(stencilOps)); in randomDepthStencilState()
768 …cil[ndx].depthPassOp = rnd.choose<deUint32>(DE_ARRAY_BEGIN(stencilOps), DE_ARRAY_END(stencilOps)); in randomDepthStencilState()
803 } stencilOps[] = in init() local
918 for (int sFail = 0; sFail < DE_LENGTH_OF_ARRAY(stencilOps); sFail++) in init()
920 for (int dFail = 0; dFail < DE_LENGTH_OF_ARRAY(stencilOps); dFail++) in init()
922 for (int dPass = 0; dPass < DE_LENGTH_OF_ARRAY(stencilOps); dPass++) in init()
927 … name << stencilOps[sFail].name << "_" << stencilOps[dFail].name << "_" << stencilOps[dPass].name; in init()
946 params.stencil[visible].stencilFailOp = stencilOps[sFail].op; in init()
[all …]
Des2fIntegerStateQueryTests.cpp2123 } stencilOps[] = in init() local
2130 for (int testNdx = 0; testNdx < DE_LENGTH_OF_ARRAY(stencilOps); testNdx++) in init()
2132 …ng("stencil_") + stencilOps[testNdx].name + verifier->getTestNamePostfix()).c_str(), stencilOps[t… in init()
2133 …"stencil_back_") + stencilOps[testNdx].name + verifier->getTestNamePostfix()).c_str(), stencilOps[… in init()
2135 …il_") + stencilOps[testNdx].name + "_separate_both" + verifier->getTestNamePostfix()).c_str(), st… in init()
2136 …ack_") + stencilOps[testNdx].name + "_separate_both" + verifier->getTestNamePostfix()).c_str(), st… in init()
2138 …ncil_") + stencilOps[testNdx].name + "_separate" + verifier->getTestNamePostfix()).c_str(), sten… in init()
2139 …_back_") + stencilOps[testNdx].name + "_separate" + verifier->getTestNamePostfix()).c_str(), sten… in init()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fDepthStencilTests.cpp741 static const deUint32 stencilOps[] = in randomDepthStencilState() local
766 …il[ndx].stencilFailOp = rnd.choose<deUint32>(DE_ARRAY_BEGIN(stencilOps), DE_ARRAY_END(stencilOps)); in randomDepthStencilState()
767 …cil[ndx].depthFailOp = rnd.choose<deUint32>(DE_ARRAY_BEGIN(stencilOps), DE_ARRAY_END(stencilOps)); in randomDepthStencilState()
768 …cil[ndx].depthPassOp = rnd.choose<deUint32>(DE_ARRAY_BEGIN(stencilOps), DE_ARRAY_END(stencilOps)); in randomDepthStencilState()
803 } stencilOps[] = in init() local
918 for (int sFail = 0; sFail < DE_LENGTH_OF_ARRAY(stencilOps); sFail++) in init()
920 for (int dFail = 0; dFail < DE_LENGTH_OF_ARRAY(stencilOps); dFail++) in init()
922 for (int dPass = 0; dPass < DE_LENGTH_OF_ARRAY(stencilOps); dPass++) in init()
927 … name << stencilOps[sFail].name << "_" << stencilOps[dFail].name << "_" << stencilOps[dPass].name; in init()
946 params.stencil[visible].stencilFailOp = stencilOps[sFail].op; in init()
[all …]
Des3fIntegerStateQueryTests.cpp2872 } stencilOps[] = in init() local
2879 for (int testNdx = 0; testNdx < DE_LENGTH_OF_ARRAY(stencilOps); testNdx++) in init()
2881 …ng("stencil_") + stencilOps[testNdx].name + verifier->getTestNamePostfix()).c_str(), stencilOps[t… in init()
2882 …"stencil_back_") + stencilOps[testNdx].name + verifier->getTestNamePostfix()).c_str(), stencilOps[… in init()
2884 …il_") + stencilOps[testNdx].name + "_separate_both" + verifier->getTestNamePostfix()).c_str(), st… in init()
2885 …ack_") + stencilOps[testNdx].name + "_separate_both" + verifier->getTestNamePostfix()).c_str(), st… in init()
2887 …ncil_") + stencilOps[testNdx].name + "_separate" + verifier->getTestNamePostfix()).c_str(), sten… in init()
2888 …_back_") + stencilOps[testNdx].name + "_separate" + verifier->getTestNamePostfix()).c_str(), sten… in init()
/third_party/flutter/skia/src/gpu/vk/
DGrVkResourceProvider.h78 const GrVkRenderPass::LoadStoreOps& stencilOps,
85 const GrVkRenderPass::LoadStoreOps& stencilOps);
250 const GrVkRenderPass::LoadStoreOps& stencilOps);
DGrVkResourceProvider.cpp168 const GrVkRenderPass::LoadStoreOps& stencilOps, in findRenderPass() argument
178 return this->findRenderPass(*pRPHandle, colorOps, stencilOps); in findRenderPass()
184 const GrVkRenderPass::LoadStoreOps& stencilOps) { in findRenderPass() argument
189 stencilOps); in findRenderPass()
558 const GrVkRenderPass::LoadStoreOps& stencilOps) { in getRenderPass() argument
561 if (fRenderPasses[idx]->equalLoadStoreOps(colorOps, stencilOps)) { in getRenderPass()
567 renderPass->init(gpu, *this->getCompatibleRenderPass(), colorOps, stencilOps); in getRenderPass()
DGrVkRenderPass.h115 const LoadStoreOps& stencilOps) const;
139 const LoadStoreOps& stencilOps);
DGrVkRenderPass.cpp235 const LoadStoreOps& stencilOps) const { in equalLoadStoreOps()
243 if (fAttachmentsDescriptor.fStencil.fLoadStoreOps != stencilOps) { in equalLoadStoreOps()
/third_party/skia/src/gpu/vk/
DGrVkResourceProvider.h95 const GrVkRenderPass::LoadStoreOps& stencilOps,
107 const GrVkRenderPass::LoadStoreOps& stencilOps);
287 const GrVkRenderPass::LoadStoreOps& stencilOps);
DGrVkResourceProvider.cpp183 const GrVkRenderPass::LoadStoreOps& stencilOps, in findRenderPass() argument
198 return this->findRenderPass(*pRPHandle, colorOps, resolveOps, stencilOps); in findRenderPass()
205 const GrVkRenderPass::LoadStoreOps& stencilOps) { in findRenderPass() argument
211 stencilOps); in findRenderPass()
617 const GrVkRenderPass::LoadStoreOps& stencilOps) { in getRenderPass() argument
620 if (fRenderPasses[idx]->equalLoadStoreOps(colorOps, resolveOps, stencilOps)) { in getRenderPass()
626 colorOps, resolveOps, stencilOps); in getRenderPass()
DGrVkRenderPass.h148 const LoadStoreOps& stencilOps) const;
185 const LoadStoreOps& stencilOps,
DGrVkRenderPass.cpp424 const LoadStoreOps& stencilOps) const { in equalLoadStoreOps()
437 if (fAttachmentsDescriptor.fStencil.fLoadStoreOps != stencilOps) { in equalLoadStoreOps()