Home
last modified time | relevance | path

Searched refs:dsState (Results 1 – 13 of 13) sorted by relevance

/external/angle/src/libANGLE/renderer/metal/
Dmtl_state_cache.mm321 void DepthStencilDesc::updateDepthTestEnabled(const gl::DepthStencilState &dsState)
323 if (!dsState.depthTest)
330 updateDepthCompareFunc(dsState);
331 updateDepthWriteEnabled(dsState);
335 void DepthStencilDesc::updateDepthWriteEnabled(const gl::DepthStencilState &dsState)
337 depthWriteEnabled = dsState.depthTest && dsState.depthMask;
340 void DepthStencilDesc::updateDepthCompareFunc(const gl::DepthStencilState &dsState)
342 if (!dsState.depthTest)
346 depthCompareFunction = GetCompareFunc(dsState.depthFunc);
349 void DepthStencilDesc::updateStencilTestEnabled(const gl::DepthStencilState &dsState)
[all …]
Dmtl_state_cache.h71 void updateDepthTestEnabled(const gl::DepthStencilState &dsState);
72 void updateDepthWriteEnabled(const gl::DepthStencilState &dsState);
73 void updateDepthCompareFunc(const gl::DepthStencilState &dsState);
74 void updateStencilTestEnabled(const gl::DepthStencilState &dsState);
75 void updateStencilFrontOps(const gl::DepthStencilState &dsState);
76 void updateStencilBackOps(const gl::DepthStencilState &dsState);
77 void updateStencilFrontFuncs(const gl::DepthStencilState &dsState);
78 void updateStencilBackFuncs(const gl::DepthStencilState &dsState);
79 void updateStencilFrontWriteMask(const gl::DepthStencilState &dsState);
80 void updateStencilBackWriteMask(const gl::DepthStencilState &dsState);
Dmtl_render_utils.mm1354 id<MTLDepthStencilState> dsState = getClearDepthStencilState(context, params);
1355 cmdEncoder->setDepthStencilState(dsState).setStencilRefVal(params.clearStencil.value());
/external/angle/src/libANGLE/renderer/d3d/d3d11/
DRenderStateCache.h85 const gl::DepthStencilState &dsState,
DClear11.cpp651 const d3d11::DepthStencilState *dsState = nullptr; in clearFramebuffer() local
663 ANGLE_TRY(mRenderer->getDepthStencilState(context, mDepthStencilStateKey, &dsState)); in clearFramebuffer()
712 stateManager->setDepthStencilState(dsState, stencilValue); in clearFramebuffer()
DRenderer11.h310 const gl::DepthStencilState &dsState,
DRenderer11.cpp4176 const gl::DepthStencilState &dsState, in getDepthStencilState() argument
4179 return mStateCache.getDepthStencilState(context, this, dsState, outDSState); in getDepthStencilState()
/external/angle/src/libANGLE/renderer/vulkan/
DContextVk.cpp267 vk::ResourceAccess GetDepthAccess(const gl::DepthStencilState &dsState) in GetDepthAccess() argument
269 if (!dsState.depthTest) in GetDepthAccess()
273 return dsState.isDepthMaskedOut() ? vk::ResourceAccess::ReadOnly : vk::ResourceAccess::Write; in GetDepthAccess()
276 vk::ResourceAccess GetStencilAccess(const gl::DepthStencilState &dsState) in GetStencilAccess() argument
278 if (!dsState.stencilTest) in GetStencilAccess()
283 return dsState.isStencilNoOp() && dsState.isStencilBackNoOp() ? vk::ResourceAccess::ReadOnly in GetStencilAccess()
2962 const gl::DepthStencilState &dsState = mState.getDepthStencilState(); in optimizeRenderPassForPresent() local
2964 dsState, mRenderPassCommands->getRenderArea()); in optimizeRenderPassForPresent()
2966 dsState, mRenderPassCommands->getRenderArea()); in optimizeRenderPassForPresent()
5570 const gl::DepthStencilState &dsState = mState.getDepthStencilState(); in startRenderPass() local
[all …]
DFramebufferVk.cpp1588 const gl::DepthStencilState &dsState = contextVk->getState().getDepthStencilState(); in invalidateImpl() local
1592 dsState, invalidateArea); in invalidateImpl()
1598 dsState, invalidateArea); in invalidateImpl()
Dvk_helpers.cpp1684 void CommandBufferHelper::invalidateRenderPassDepthAttachment(const gl::DepthStencilState &dsState, in invalidateRenderPassDepthAttachment() argument
1693 const bool isDepthWriteEnabled = dsState.depthTest && dsState.depthMask; in invalidateRenderPassDepthAttachment()
1701 const gl::DepthStencilState &dsState, in invalidateRenderPassStencilAttachment() argument
1711 dsState.stencilTest && (!dsState.isStencilNoOp() || !dsState.isStencilBackNoOp()); in invalidateRenderPassStencilAttachment()
Dvk_helpers.h1123 void invalidateRenderPassDepthAttachment(const gl::DepthStencilState &dsState,
1125 void invalidateRenderPassStencilAttachment(const gl::DepthStencilState &dsState,
/external/deqp/external/vulkancts/modules/vulkan/api/
DvktApiCommandBuffersTests.cpp4555 const VkPipelineDepthStencilStateCreateInfo dsState = in iterate() local
4574 &inputState, nullptr, nullptr, &dsState); in iterate()
/external/deqp/external/vulkancts/modules/vulkan/binding_model/
DvktBindingShaderAccessTests.cpp898 const vk::VkPipelineDepthStencilStateCreateInfo dsState = in createPipeline() local
951 &dsState, // pDepthStencilState in createPipeline()