Home
last modified time | relevance | path

Searched refs:depthStencilState (Results 1 – 25 of 62) sorted by relevance

123

/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DRenderPipelineVk.cpp283 VkPipelineDepthStencilStateCreateInfo depthStencilState; in ComputeDepthStencilDesc() local
284 depthStencilState.sType = VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO; in ComputeDepthStencilDesc()
285 depthStencilState.pNext = nullptr; in ComputeDepthStencilDesc()
286 depthStencilState.flags = 0; in ComputeDepthStencilDesc()
289 depthStencilState.depthTestEnable = in ComputeDepthStencilDesc()
294 depthStencilState.depthWriteEnable = descriptor->depthWriteEnabled ? VK_TRUE : VK_FALSE; in ComputeDepthStencilDesc()
295 depthStencilState.depthCompareOp = ToVulkanCompareOp(descriptor->depthCompare); in ComputeDepthStencilDesc()
296 depthStencilState.depthBoundsTestEnable = false; in ComputeDepthStencilDesc()
297 depthStencilState.minDepthBounds = 0.0f; in ComputeDepthStencilDesc()
298 depthStencilState.maxDepthBounds = 1.0f; in ComputeDepthStencilDesc()
[all …]
/third_party/skia/third_party/externals/dawn/src/tests/unittests/wire/
DWireOptionalTests.cpp94 WGPUDepthStencilState depthStencilState = {}; in TEST_F() local
95 depthStencilState.format = WGPUTextureFormat_Depth24PlusStencil8; in TEST_F()
96 depthStencilState.depthWriteEnabled = false; in TEST_F()
97 depthStencilState.depthCompare = WGPUCompareFunction_Always; in TEST_F()
98 depthStencilState.stencilBack = stencilFace; in TEST_F()
99 depthStencilState.stencilFront = stencilFace; in TEST_F()
100 depthStencilState.stencilReadMask = 0xff; in TEST_F()
101 depthStencilState.stencilWriteMask = 0xff; in TEST_F()
102 depthStencilState.depthBias = 0; in TEST_F()
103 depthStencilState.depthBiasSlopeScale = 0.0; in TEST_F()
[all …]
DWireArgumentTests.cpp123 WGPUDepthStencilState depthStencilState = {}; in TEST_F() local
124 depthStencilState.format = WGPUTextureFormat_Depth24PlusStencil8; in TEST_F()
125 depthStencilState.depthWriteEnabled = false; in TEST_F()
126 depthStencilState.depthCompare = WGPUCompareFunction_Always; in TEST_F()
127 depthStencilState.stencilBack = stencilFace; in TEST_F()
128 depthStencilState.stencilFront = stencilFace; in TEST_F()
129 depthStencilState.stencilReadMask = 0xff; in TEST_F()
130 depthStencilState.stencilWriteMask = 0xff; in TEST_F()
131 depthStencilState.depthBias = 0; in TEST_F()
132 depthStencilState.depthBiasSlopeScale = 0.0; in TEST_F()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/dynamic_state/
DvktDynamicStateDiscardTests.cpp224 PipelineCreateInfo::DepthStencilState depthStencilState; in initPipeline() local
227 depthStencilState.depthTestEnable = VK_TRUE; in initPipeline()
228 depthStencilState.depthWriteEnable = VK_TRUE; in initPipeline()
229 depthStencilState.depthCompareOp = VK_COMPARE_OP_ALWAYS; in initPipeline()
230 depthStencilState.depthBoundsTestEnable = m_depthBounds; in initPipeline()
231 depthStencilState.minDepthBounds = 0.0f; in initPipeline()
232 depthStencilState.maxDepthBounds = 1.0f; in initPipeline()
233 depthStencilState.stencilTestEnable = VK_TRUE; in initPipeline()
234 depthStencilState.front.failOp = VK_STENCIL_OP_KEEP; in initPipeline()
235 depthStencilState.front.passOp = VK_STENCIL_OP_REPLACE; in initPipeline()
[all …]
DvktDynamicStateCBTests.cpp77 const PipelineCreateInfo::DepthStencilState depthStencilState; in initPipeline() local
111 …erPass, 0u, *fs, static_cast<const vk::VkPipelineDepthStencilStateCreateInfo*>(&depthStencilState)) in initPipeline()
DvktDynamicStateGeneralTests.cpp322 const PipelineCreateInfo::DepthStencilState depthStencilState; in initPipeline() local
336 …erPass, 0u, *fs, static_cast<const vk::VkPipelineDepthStencilStateCreateInfo*>(&depthStencilState)) in initPipeline()
352 …erPass, 0u, *fs, static_cast<const vk::VkPipelineDepthStencilStateCreateInfo*>(&depthStencilState)) in initPipeline()
DvktDynamicStateBaseClass.cpp221 const PipelineCreateInfo::DepthStencilState depthStencilState; in initPipeline() local
262 …*fs, static_cast<const vk::VkPipelineDepthStencilStateCreateInfo*>(&depthStencilState), &multisamp… in initPipeline()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state/
DvktDynamicStateDiscardTests.cpp224 PipelineCreateInfo::DepthStencilState depthStencilState; in initPipeline() local
227 depthStencilState.depthTestEnable = VK_TRUE; in initPipeline()
228 depthStencilState.depthWriteEnable = VK_TRUE; in initPipeline()
229 depthStencilState.depthCompareOp = VK_COMPARE_OP_ALWAYS; in initPipeline()
230 depthStencilState.depthBoundsTestEnable = m_depthBounds; in initPipeline()
231 depthStencilState.minDepthBounds = 0.0f; in initPipeline()
232 depthStencilState.maxDepthBounds = 1.0f; in initPipeline()
233 depthStencilState.stencilTestEnable = VK_TRUE; in initPipeline()
234 depthStencilState.front.failOp = VK_STENCIL_OP_KEEP; in initPipeline()
235 depthStencilState.front.passOp = VK_STENCIL_OP_REPLACE; in initPipeline()
[all …]
DvktDynamicStateCBTests.cpp77 const PipelineCreateInfo::DepthStencilState depthStencilState; in initPipeline() local
111 …erPass, 0u, *fs, static_cast<const vk::VkPipelineDepthStencilStateCreateInfo*>(&depthStencilState)) in initPipeline()
DvktDynamicStateGeneralTests.cpp322 const PipelineCreateInfo::DepthStencilState depthStencilState; in initPipeline() local
336 …erPass, 0u, *fs, static_cast<const vk::VkPipelineDepthStencilStateCreateInfo*>(&depthStencilState)) in initPipeline()
352 …erPass, 0u, *fs, static_cast<const vk::VkPipelineDepthStencilStateCreateInfo*>(&depthStencilState)) in initPipeline()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
DStateManager9.cpp332 const auto &depthStencilState = glState.getDepthStencilState(); in setBlendDepthRasterStates() local
374 setDepthMask(depthStencilState.depthMask); in setBlendDepthRasterStates()
377 setDepthFunc(depthStencilState.depthTest, depthStencilState.depthFunc); in setBlendDepthRasterStates()
380 setStencilTestEnabled(depthStencilState.stencilTest); in setBlendDepthRasterStates()
383 setStencilFuncsFront(depthStencilState.stencilFunc, depthStencilState.stencilMask, in setBlendDepthRasterStates()
387 setStencilFuncsBack(depthStencilState.stencilBackFunc, in setBlendDepthRasterStates()
388 depthStencilState.stencilBackMask, glState.getStencilBackRef(), in setBlendDepthRasterStates()
392 setStencilWriteMask(depthStencilState.stencilWritemask, frontFaceCCW); in setBlendDepthRasterStates()
395 setStencilBackWriteMask(depthStencilState.stencilBackWritemask, frontFaceCCW); in setBlendDepthRasterStates()
398 setStencilOpsFront(depthStencilState.stencilFail, in setBlendDepthRasterStates()
[all …]
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/
DDrawTester.cpp259 vk::PipelineDepthStencilStateCreateInfo depthStencilState; in createGraphicsPipeline() local
260 depthStencilState.depthTestEnable = VK_FALSE; in createGraphicsPipeline()
261 depthStencilState.depthWriteEnable = VK_FALSE; in createGraphicsPipeline()
262 depthStencilState.depthCompareOp = vk::CompareOp::eLessOrEqual; in createGraphicsPipeline()
263 depthStencilState.depthBoundsTestEnable = VK_FALSE; in createGraphicsPipeline()
264 depthStencilState.back.failOp = vk::StencilOp::eKeep; in createGraphicsPipeline()
265 depthStencilState.back.passOp = vk::StencilOp::eKeep; in createGraphicsPipeline()
266 depthStencilState.back.compareOp = vk::CompareOp::eAlways; in createGraphicsPipeline()
267 depthStencilState.stencilTestEnable = VK_FALSE; in createGraphicsPipeline()
268 depthStencilState.front = depthStencilState.back; in createGraphicsPipeline()
[all …]
/third_party/skia/src/gpu/mtl/
DGrMtlResourceProvider.mm48 GrMtlDepthStencil* depthStencilState;
50 depthStencilState = fDepthStencilStates.find(key);
51 if (!depthStencilState) {
52 depthStencilState = GrMtlDepthStencil::Create(fGpu, stencil, origin);
53 fDepthStencilStates.add(depthStencilState);
55 SkASSERT(depthStencilState);
56 return depthStencilState;
DGrMtlRenderCommandEncoder.h162 void setDepthStencilState(id<MTLDepthStencilState> depthStencilState) { in setDepthStencilState() argument
163 if (depthStencilState != fCurrentDepthStencilState) { in setDepthStencilState()
164 [fCommandEncoder setDepthStencilState:depthStencilState]; in setDepthStencilState()
165 fCurrentDepthStencilState = depthStencilState; in setDepthStencilState()
/third_party/skia/third_party/externals/swiftshader/src/Device/
DContext.cpp407 const VkPipelineDepthStencilStateCreateInfo *depthStencilState = pCreateInfo->pDepthStencilState; in GraphicsState() local
480 if(depthStencilState->flags != 0) in GraphicsState()
486 depthBoundsTestEnable = (depthStencilState->depthBoundsTestEnable != VK_FALSE); in GraphicsState()
487 minDepthBounds = depthStencilState->minDepthBounds; in GraphicsState()
488 maxDepthBounds = depthStencilState->maxDepthBounds; in GraphicsState()
490 depthTestEnable = (depthStencilState->depthTestEnable != VK_FALSE); in GraphicsState()
491 depthWriteEnable = (depthStencilState->depthWriteEnable != VK_FALSE); in GraphicsState()
492 depthCompareMode = depthStencilState->depthCompareOp; in GraphicsState()
494 stencilEnable = (depthStencilState->stencilTestEnable != VK_FALSE); in GraphicsState()
497 frontStencil = depthStencilState->front; in GraphicsState()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationSmokeTests.cpp715 VkPipelineDepthStencilStateCreateInfo depthStencilState; in generateWork() local
861 deMemset(&depthStencilState, 0xcd, sizeof(depthStencilState)); in generateWork()
862 depthStencilState.sType = VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO; in generateWork()
863 depthStencilState.pNext = DE_NULL; in generateWork()
864 depthStencilState.flags = 0; in generateWork()
865 depthStencilState.depthTestEnable = VK_FALSE; in generateWork()
866 depthStencilState.depthWriteEnable = VK_FALSE; in generateWork()
867 depthStencilState.depthCompareOp = VK_COMPARE_OP_ALWAYS; in generateWork()
868 depthStencilState.depthBoundsTestEnable = VK_FALSE; in generateWork()
869 depthStencilState.stencilTestEnable = VK_FALSE; in generateWork()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/
DvktSynchronizationSmokeTests.cpp715 VkPipelineDepthStencilStateCreateInfo depthStencilState; in generateWork() local
861 deMemset(&depthStencilState, 0xcd, sizeof(depthStencilState)); in generateWork()
862 depthStencilState.sType = VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO; in generateWork()
863 depthStencilState.pNext = DE_NULL; in generateWork()
864 depthStencilState.flags = 0; in generateWork()
865 depthStencilState.depthTestEnable = VK_FALSE; in generateWork()
866 depthStencilState.depthWriteEnable = VK_FALSE; in generateWork()
867 depthStencilState.depthCompareOp = VK_COMPARE_OP_ALWAYS; in generateWork()
868 depthStencilState.depthBoundsTestEnable = VK_FALSE; in generateWork()
869 depthStencilState.stencilTestEnable = VK_FALSE; in generateWork()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_cache_utils.cpp1718 VkPipelineDepthStencilStateCreateInfo depthStencilState = {}; in initializePipeline() local
1795 sizeof(multisampleState) + sizeof(depthStencilState) + in initializePipeline()
2005 depthStencilState.sType = VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO; in initializePipeline()
2006 depthStencilState.flags = 0; in initializePipeline()
2007 depthStencilState.depthTestEnable = in initializePipeline()
2009 depthStencilState.depthWriteEnable = in initializePipeline()
2011 depthStencilState.depthCompareOp = static_cast<VkCompareOp>( in initializePipeline()
2013 depthStencilState.depthBoundsTestEnable = in initializePipeline()
2015 depthStencilState.stencilTestEnable = in initializePipeline()
2018 &depthStencilState.front); in initializePipeline()
[all …]
Dvk_cache_utils.h659 const gl::DepthStencilState &depthStencilState,
662 const gl::DepthStencilState &depthStencilState);
664 const gl::DepthStencilState &depthStencilState,
667 const gl::DepthStencilState &depthStencilState,
671 const gl::DepthStencilState &depthStencilState);
674 const gl::DepthStencilState &depthStencilState);
676 const gl::DepthStencilState &depthStencilState);
678 const gl::DepthStencilState &depthStencilState);
680 const gl::DepthStencilState &depthStencilState,
683 const gl::DepthStencilState &depthStencilState,
/third_party/vk-gl-cts/external/amber/src/src/dawn/
Dengine_dawn.cc127 ::dawn::DepthStencilStateDescriptor depthStencilState;
1125 depthStencilState.depthWriteEnabled = false; in CreateRenderPipelineDescriptor()
1126 depthStencilState.depthCompare = ::dawn::CompareFunction::Always; in CreateRenderPipelineDescriptor()
1127 depthStencilState.stencilBack = stencil_front; in CreateRenderPipelineDescriptor()
1128 depthStencilState.stencilFront = stencil_front; in CreateRenderPipelineDescriptor()
1129 depthStencilState.stencilReadMask = 0xff; in CreateRenderPipelineDescriptor()
1130 depthStencilState.stencilWriteMask = 0xff; in CreateRenderPipelineDescriptor()
1131 depthStencilState.format = depth_stencil_format; in CreateRenderPipelineDescriptor()
1132 renderPipelineDescriptor.depthStencilState = &depthStencilState; in CreateRenderPipelineDescriptor()
1147 depthStencilState.depthWriteEnabled = pipeline_data->GetEnableDepthWrite(); in CreateRenderPipelineDescriptor()
[all …]
/third_party/skia/experimental/graphite/src/mtl/
DMtlRenderCommandEncoder.h166 void setDepthStencilState(id<MTLDepthStencilState> depthStencilState) { in setDepthStencilState() argument
167 if (depthStencilState != fCurrentDepthStencilState) { in setDepthStencilState()
168 [(*fCommandEncoder) setDepthStencilState:depthStencilState]; in setDepthStencilState()
169 fCurrentDepthStencilState = depthStencilState; in setDepthStencilState()
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/
Dframe_capture_utils.cpp443 const gl::DepthStencilState &depthStencilState) in SerializeDepthStencilState() argument
446 json->addScalar("DepthTest", depthStencilState.depthTest); in SerializeDepthStencilState()
447 json->addScalar("DepthFunc", depthStencilState.depthFunc); in SerializeDepthStencilState()
448 json->addScalar("DepthMask", depthStencilState.depthMask); in SerializeDepthStencilState()
449 json->addScalar("StencilTest", depthStencilState.stencilTest); in SerializeDepthStencilState()
450 json->addScalar("StencilFunc", depthStencilState.stencilFunc); in SerializeDepthStencilState()
451 json->addScalar("StencilMask", depthStencilState.stencilMask); in SerializeDepthStencilState()
452 json->addScalar("StencilFail", depthStencilState.stencilFail); in SerializeDepthStencilState()
453 json->addScalar("StencilPassDepthFail", depthStencilState.stencilPassDepthFail); in SerializeDepthStencilState()
454 json->addScalar("StencilPassDepthPass", depthStencilState.stencilPassDepthPass); in SerializeDepthStencilState()
[all …]
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkPipelineConstructionUtil.hpp250 const VkPipelineDepthStencilStateCreateInfo* depthStencilState = DE_NULL,
262 const VkPipelineDepthStencilStateCreateInfo* depthStencilState = nullptr,
DvkPipelineConstructionUtil.cpp1161 const VkPipelineDepthStencilStateCreateInfo* depthStencilState, in setupFragmentShaderState() argument
1172 depthStencilState, in setupFragmentShaderState()
1184 const VkPipelineDepthStencilStateCreateInfo* depthStencilState, in setupFragmentShaderState2() argument
1206 const auto pDepthStencilState = depthStencilState ? depthStencilState in setupFragmentShaderState2()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DStateManagerGL.cpp1891 const auto &depthStencilState = state.getDepthStencilState(); in syncState() local
1892 setStencilFrontFuncs(depthStencilState.stencilFunc, state.getStencilRef(), in syncState()
1893 depthStencilState.stencilMask); in syncState()
1898 const auto &depthStencilState = state.getDepthStencilState(); in syncState() local
1899 setStencilBackFuncs(depthStencilState.stencilBackFunc, state.getStencilBackRef(), in syncState()
1900 depthStencilState.stencilBackMask); in syncState()
1905 const auto &depthStencilState = state.getDepthStencilState(); in syncState() local
1906 setStencilFrontOps(depthStencilState.stencilFail, in syncState()
1907 depthStencilState.stencilPassDepthFail, in syncState()
1908 depthStencilState.stencilPassDepthPass); in syncState()
[all …]

123