Home
last modified time | relevance | path

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

123

/third_party/flutter/skia/third_party/externals/dawn/src/tests/unittests/wire/
DWireOptionalTests.cpp112 DawnDepthStencilStateDescriptor depthStencilState; in TEST_F() local
113 depthStencilState.nextInChain = nullptr; in TEST_F()
114 depthStencilState.format = DAWN_TEXTURE_FORMAT_DEPTH24_PLUS_STENCIL8; in TEST_F()
115 depthStencilState.depthWriteEnabled = false; in TEST_F()
116 depthStencilState.depthCompare = DAWN_COMPARE_FUNCTION_ALWAYS; in TEST_F()
117 depthStencilState.stencilBack = stencilFace; in TEST_F()
118 depthStencilState.stencilFront = stencilFace; in TEST_F()
119 depthStencilState.stencilReadMask = 0xff; in TEST_F()
120 depthStencilState.stencilWriteMask = 0xff; in TEST_F()
160 pipelineDescriptor.depthStencilState = &depthStencilState; in TEST_F()
[all …]
DWireArgumentTests.cpp142 DawnDepthStencilStateDescriptor depthStencilState; in TEST_F() local
143 depthStencilState.nextInChain = nullptr; in TEST_F()
144 depthStencilState.format = DAWN_TEXTURE_FORMAT_DEPTH24_PLUS_STENCIL8; in TEST_F()
145 depthStencilState.depthWriteEnabled = false; in TEST_F()
146 depthStencilState.depthCompare = DAWN_COMPARE_FUNCTION_ALWAYS; in TEST_F()
147 depthStencilState.stencilBack = stencilFace; in TEST_F()
148 depthStencilState.stencilFront = stencilFace; in TEST_F()
149 depthStencilState.stencilReadMask = 0xff; in TEST_F()
150 depthStencilState.stencilWriteMask = 0xff; in TEST_F()
188 pipelineDescriptor.depthStencilState = &depthStencilState; in TEST_F()
/third_party/flutter/skia/third_party/externals/dawn/src/dawn_native/vulkan/
DRenderPipelineVk.cpp267 VkPipelineDepthStencilStateCreateInfo depthStencilState; in ComputeDepthStencilDesc() local
268 depthStencilState.sType = VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO; in ComputeDepthStencilDesc()
269 depthStencilState.pNext = nullptr; in ComputeDepthStencilDesc()
270 depthStencilState.flags = 0; in ComputeDepthStencilDesc()
273 depthStencilState.depthTestEnable = in ComputeDepthStencilDesc()
278 depthStencilState.depthWriteEnable = descriptor->depthWriteEnabled ? VK_TRUE : VK_FALSE; in ComputeDepthStencilDesc()
279 depthStencilState.depthCompareOp = ToVulkanCompareOp(descriptor->depthCompare); in ComputeDepthStencilDesc()
280 depthStencilState.depthBoundsTestEnable = false; in ComputeDepthStencilDesc()
281 depthStencilState.minDepthBounds = 0.0f; in ComputeDepthStencilDesc()
282 depthStencilState.maxDepthBounds = 1.0f; in ComputeDepthStencilDesc()
[all …]
/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/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
Dvk_cache_utils.cpp612 VkPipelineDepthStencilStateCreateInfo depthStencilState = {}; in initializePipeline() local
651 sizeof(multisampleState) + sizeof(depthStencilState) + in initializePipeline()
782 depthStencilState.sType = VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO; in initializePipeline()
783 depthStencilState.flags = 0; in initializePipeline()
784 depthStencilState.depthTestEnable = in initializePipeline()
786 depthStencilState.depthWriteEnable = in initializePipeline()
788 depthStencilState.depthCompareOp = in initializePipeline()
790 depthStencilState.depthBoundsTestEnable = in initializePipeline()
792 depthStencilState.stencilTestEnable = in initializePipeline()
795 &depthStencilState.front); in initializePipeline()
[all …]
Dvk_cache_utils.h436 const gl::DepthStencilState &depthStencilState,
439 const gl::DepthStencilState &depthStencilState);
441 const gl::DepthStencilState &depthStencilState,
444 const gl::DepthStencilState &depthStencilState,
448 const gl::DepthStencilState &depthStencilState);
451 const gl::DepthStencilState &depthStencilState);
453 const gl::DepthStencilState &depthStencilState);
455 const gl::DepthStencilState &depthStencilState);
457 const gl::DepthStencilState &depthStencilState,
460 const gl::DepthStencilState &depthStencilState,
/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/flutter/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/vk-gl-cts/external/vulkancts/modules/vulkan/synchronization/
DvktSynchronizationSmokeTests.cpp672 VkPipelineDepthStencilStateCreateInfo depthStencilState; in generateWork() local
818 deMemset(&depthStencilState, 0xcd, sizeof(depthStencilState)); in generateWork()
819 depthStencilState.sType = VK_STRUCTURE_TYPE_PIPELINE_DEPTH_STENCIL_STATE_CREATE_INFO; in generateWork()
820 depthStencilState.pNext = DE_NULL; in generateWork()
821 depthStencilState.flags = 0; in generateWork()
822 depthStencilState.depthTestEnable = VK_FALSE; in generateWork()
823 depthStencilState.depthWriteEnable = VK_FALSE; in generateWork()
824 depthStencilState.depthCompareOp = VK_COMPARE_OP_ALWAYS; in generateWork()
825 depthStencilState.depthBoundsTestEnable = VK_FALSE; in generateWork()
826 depthStencilState.stencilTestEnable = VK_FALSE; in generateWork()
[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/flutter/skia/src/gpu/mtl/
DGrMtlResourceProvider.mm52 GrMtlDepthStencil* depthStencilState;
54 depthStencilState = fDepthStencilStates.find(key);
55 if (!depthStencilState) {
56 depthStencilState = GrMtlDepthStencil::Create(fGpu, stencil, origin);
57 fDepthStencilStates.add(depthStencilState);
59 SkASSERT(depthStencilState);
60 return depthStencilState;
/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/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Dapi.cpp695 pState->depthStencilState = *pDSState; in SwrSetDepthStencilState()
943 (pState->state.depthStencilState.depthTestEnable == FALSE) && in SetupPipeline()
944 (pState->state.depthStencilState.depthWriteEnable == FALSE) && in SetupPipeline()
945 (pState->state.depthStencilState.stencilTestEnable == FALSE) && in SetupPipeline()
946 (pState->state.depthStencilState.stencilWriteEnable == FALSE) && in SetupPipeline()
1002 ((!(pState->state.depthStencilState.depthTestEnable && in SetupPipeline()
1003 !pState->state.depthStencilState.depthWriteEnable && in SetupPipeline()
1005 pState->state.depthStencilState.depthTestFunc == ZFUNC_ALWAYS)) && in SetupPipeline()
1006 (pState->state.depthStencilState.depthTestEnable || in SetupPipeline()
1007 pState->state.depthStencilState.depthWriteEnable || in SetupPipeline()
[all …]
Dbackend_singlesample.cpp168 &state.depthStencilState, in BackendSingleSample()
224 &state.depthStencilState, in BackendSingleSample()
265 &state.depthStencilState, in BackendSingleSample()
/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/mesa3d/src/gallium/drivers/swr/
Dswr_state.cpp1852 SWR_DEPTH_STENCIL_STATE depthStencilState = {{0}}; in swr_update_derived() local
1861 depthStencilState.stencilWriteEnable = 1; in swr_update_derived()
1862 depthStencilState.stencilTestEnable = 1; in swr_update_derived()
1863 depthStencilState.stencilTestFunc = in swr_update_derived()
1866 depthStencilState.stencilPassDepthPassOp = in swr_update_derived()
1868 depthStencilState.stencilPassDepthFailOp = in swr_update_derived()
1870 depthStencilState.stencilFailOp = in swr_update_derived()
1872 depthStencilState.stencilWriteMask = stencil[0].writemask; in swr_update_derived()
1873 depthStencilState.stencilTestMask = stencil[0].valuemask; in swr_update_derived()
1874 depthStencilState.stencilRefValue = ctx->stencil_ref.ref_value[0]; in swr_update_derived()
[all …]
/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/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/gl/
DStateManagerGL.cpp1575 const auto &depthStencilState = state.getDepthStencilState(); in syncState() local
1576 setStencilFrontFuncs(depthStencilState.stencilFunc, state.getStencilRef(), in syncState()
1577 depthStencilState.stencilMask); in syncState()
1582 const auto &depthStencilState = state.getDepthStencilState(); in syncState() local
1583 setStencilBackFuncs(depthStencilState.stencilBackFunc, state.getStencilBackRef(), in syncState()
1584 depthStencilState.stencilBackMask); in syncState()
1589 const auto &depthStencilState = state.getDepthStencilState(); in syncState() local
1590 setStencilFrontOps(depthStencilState.stencilFail, in syncState()
1591 depthStencilState.stencilPassDepthFail, in syncState()
1592 depthStencilState.stencilPassDepthPass); in syncState()
[all …]
/third_party/flutter/skia/third_party/externals/dawn/examples/
DCubeReflection.cpp205 descriptor.depthStencilState = &descriptor.cDepthStencilState; in init()
218 pDescriptor.depthStencilState = &pDescriptor.cDepthStencilState; in init()
232 rfDescriptor.depthStencilState = &rfDescriptor.cDepthStencilState; in init()

123