/third_party/skia/third_party/externals/dawn/src/dawn_native/vulkan/ |
H A D | RenderPipelineVk.cpp | 283 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 in ComputeDepthStencilDesc() [all...] |
/third_party/skia/third_party/externals/dawn/src/tests/unittests/wire/ |
H A D | WireOptionalTests.cpp | 94 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 in TEST_F() [all...] |
H A D | WireArgumentTests.cpp | 123 WGPUDepthStencilState depthStencilState = {}; 124 depthStencilState.format = WGPUTextureFormat_Depth24PlusStencil8; 125 depthStencilState.depthWriteEnabled = false; 126 depthStencilState.depthCompare = WGPUCompareFunction_Always; 127 depthStencilState.stencilBack = stencilFace; 128 depthStencilState.stencilFront = stencilFace; 129 depthStencilState.stencilReadMask = 0xff; 130 depthStencilState.stencilWriteMask = 0xff; 131 depthStencilState.depthBias = 0; 132 depthStencilState [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/dynamic_state/ |
H A D | vktDynamicStateDiscardTests.cpp | 225 PipelineCreateInfo::DepthStencilState depthStencilState; in initPipeline() local 228 depthStencilState.depthTestEnable = VK_TRUE; in initPipeline() 229 depthStencilState.depthWriteEnable = VK_TRUE; in initPipeline() 230 depthStencilState.depthCompareOp = VK_COMPARE_OP_ALWAYS; in initPipeline() 231 depthStencilState.depthBoundsTestEnable = m_depthBounds; in initPipeline() 232 depthStencilState.minDepthBounds = 0.0f; in initPipeline() 233 depthStencilState.maxDepthBounds = 1.0f; in initPipeline() 234 depthStencilState.stencilTestEnable = VK_TRUE; in initPipeline() 235 depthStencilState.front.failOp = VK_STENCIL_OP_KEEP; in initPipeline() 236 depthStencilState in initPipeline() [all...] |
H A D | vktDynamicStateCBTests.cpp | 79 const PipelineCreateInfo::DepthStencilState depthStencilState; in initPipeline() local 113 m_pipeline.setupFragmentShaderState(m_pipelineLayout, *m_renderPass, 0u, fs, static_cast<const vk::VkPipelineDepthStencilStateCreateInfo*>(&depthStencilState)) in initPipeline()
|
H A D | vktDynamicStateGeneralTests.cpp | 324 const PipelineCreateInfo::DepthStencilState depthStencilState; in initPipeline() local 338 .setupFragmentShaderState(m_pipelineLayout, *m_renderPass, 0u, fs, static_cast<const vk::VkPipelineDepthStencilStateCreateInfo*>(&depthStencilState)) in initPipeline() 354 .setupFragmentShaderState(m_pipelineLayout, *m_renderPass, 0u, fs, static_cast<const vk::VkPipelineDepthStencilStateCreateInfo*>(&depthStencilState)) in initPipeline()
|
H A D | vktDynamicStateBaseClass.cpp | 225 const PipelineCreateInfo::DepthStencilState depthStencilState; in initPipeline() local 266 m_pipeline.setupFragmentShaderState(m_pipelineLayout, *m_renderPass, 0u, fs, static_cast<const vk::VkPipelineDepthStencilStateCreateInfo*>(&depthStencilState), &multisampleState) in initPipeline()
|
H A D | vktDynamicStateVPTests.cpp | 271 const PipelineCreateInfo::DepthStencilState depthStencilState; in initPipeline() local 308 m_pipeline.setupFragmentShaderState(m_pipelineLayout, *m_renderPass, 0u, fs, static_cast<const vk::VkPipelineDepthStencilStateCreateInfo*>(&depthStencilState)) in initPipeline()
|
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/dynamic_state/ |
H A D | vktDynamicStateDiscardTests.cpp | 224 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 in initPipeline() [all...] |
H A D | vktDynamicStateCBTests.cpp | 77 const PipelineCreateInfo::DepthStencilState depthStencilState; in initPipeline() local 111 m_pipeline.setupFragmentShaderState(*m_pipelineLayout, *m_renderPass, 0u, *fs, static_cast<const vk::VkPipelineDepthStencilStateCreateInfo*>(&depthStencilState)) in initPipeline()
|
H A D | vktDynamicStateGeneralTests.cpp | 322 const PipelineCreateInfo::DepthStencilState depthStencilState; in initPipeline() local 336 .setupFragmentShaderState(*m_pipelineLayout, *m_renderPass, 0u, *fs, static_cast<const vk::VkPipelineDepthStencilStateCreateInfo*>(&depthStencilState)) in initPipeline() 352 .setupFragmentShaderState(*m_pipelineLayout, *m_renderPass, 0u, *fs, static_cast<const vk::VkPipelineDepthStencilStateCreateInfo*>(&depthStencilState)) in initPipeline()
|
H A D | vktDynamicStateBaseClass.cpp | 221 const PipelineCreateInfo::DepthStencilState depthStencilState; in initPipeline() local 262 m_pipeline.setupFragmentShaderState(*m_pipelineLayout, *m_renderPass, 0u, *fs, static_cast<const vk::VkPipelineDepthStencilStateCreateInfo*>(&depthStencilState), &multisampleState) in initPipeline()
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/ |
H A D | StateManager9.cpp | 332 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 in setBlendDepthRasterStates() [all...] |
/third_party/skia/third_party/externals/swiftshader/tests/VulkanWrapper/ |
H A D | DrawTester.cpp | 259 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 in createGraphicsPipeline() [all...] |
/third_party/skia/third_party/externals/swiftshader/src/Device/ |
H A D | Context.cpp | 407 const VkPipelineDepthStencilStateCreateInfo *depthStencilState = pCreateInfo->pDepthStencilState; in GraphicsState() 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 in GraphicsState() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/ |
H A D | vktSynchronizationSmokeTests.cpp | 714 VkPipelineDepthStencilStateCreateInfo depthStencilState; in generateWork() local 860 deMemset(&depthStencilState, 0xcd, sizeof(depthStencilState)); in generateWork() 861 depthStencilState.sType = VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO; in generateWork() 862 depthStencilState.pNext = DE_NULL; in generateWork() 863 depthStencilState.flags = 0; in generateWork() 864 depthStencilState.depthTestEnable = VK_FALSE; in generateWork() 865 depthStencilState.depthWriteEnable = VK_FALSE; in generateWork() 866 depthStencilState.depthCompareOp = VK_COMPARE_OP_ALWAYS; in generateWork() 867 depthStencilState in generateWork() [all...] |
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/synchronization/ |
H A D | vktSynchronizationSmokeTests.cpp | 715 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 in generateWork() [all...] |
/third_party/vk-gl-cts/external/amber/src/src/dawn/ |
H A D | engine_dawn.cc | 127 ::dawn::DepthStencilStateDescriptor depthStencilState; member 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() [all...] |
/third_party/skia/src/gpu/mtl/ |
H A D | GrMtlRenderCommandEncoder.h | 162 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/experimental/graphite/src/mtl/ |
H A D | MtlRenderCommandEncoder.h | 166 void setDepthStencilState(id<MTLDepthStencilState> depthStencilState) { 167 if (depthStencilState != fCurrentDepthStencilState) { 168 [(*fCommandEncoder) setDepthStencilState:depthStencilState]; 169 fCurrentDepthStencilState = depthStencilState;
|
/third_party/skia/third_party/externals/angle2/src/libANGLE/capture/ |
H A D | frame_capture_utils.cpp | 443 const gl::DepthStencilState &depthStencilState) in SerializeDepthStencilState() 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 in SerializeDepthStencilState() 442 SerializeDepthStencilState(JsonSerializer *json, const gl::DepthStencilState &depthStencilState) SerializeDepthStencilState() argument [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/ |
H A D | vk_cache_utils.cpp | 1718 VkPipelineDepthStencilStateCreateInfo depthStencilState = {}; 1795 sizeof(multisampleState) + sizeof(depthStencilState) + 2005 depthStencilState.sType = VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO; 2006 depthStencilState.flags = 0; 2007 depthStencilState.depthTestEnable = 2009 depthStencilState.depthWriteEnable = 2011 depthStencilState.depthCompareOp = static_cast<VkCompareOp>( 2013 depthStencilState.depthBoundsTestEnable = 2015 depthStencilState.stencilTestEnable = 2018 &depthStencilState [all...] |
H A D | vk_cache_utils.h | 659 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, [all...] |
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/ |
H A D | StateManagerGL.cpp | 1891 const auto &depthStencilState = state.getDepthStencilState(); 1892 setStencilFrontFuncs(depthStencilState.stencilFunc, state.getStencilRef(), 1893 depthStencilState.stencilMask); 1898 const auto &depthStencilState = state.getDepthStencilState(); 1899 setStencilBackFuncs(depthStencilState.stencilBackFunc, state.getStencilBackRef(), 1900 depthStencilState.stencilBackMask); 1905 const auto &depthStencilState = state.getDepthStencilState(); 1906 setStencilFrontOps(depthStencilState.stencilFail, 1907 depthStencilState.stencilPassDepthFail, 1908 depthStencilState [all...] |
/third_party/skia/src/gpu/dawn/ |
H A D | GrDawnProgramBuilder.cpp | 326 wgpu::DepthStencilState depthStencilState; in Build() local 333 depthStencilState = create_depth_stencil_state(programInfo, depthStencilFormat); in Build() 409 rpDesc.depthStencil = &depthStencilState; in Build()
|