Home
last modified time | relevance | path

Searched refs:clearDepth (Results 1 – 25 of 195) sorted by relevance

12345678

/third_party/skia/third_party/externals/dawn/src/tests/end2end/
DDepthStencilCopyTests.cpp89 float clearDepth, in InitializeDepthTextureRegion() argument
97 renderPassDesc.cDepthStencilAttachmentInfo.clearDepth = clearDepth; in InitializeDepthTextureRegion()
118 float clearDepth, in InitializeDepthStencilTextureRegion() argument
128 renderPassDesc.cDepthStencilAttachmentInfo.clearDepth = clearDepth; in InitializeDepthStencilTextureRegion()
150 wgpu::Texture CreateInitializeDepthStencilTextureAndCopyT2T(float clearDepth, in CreateInitializeDepthStencilTextureAndCopyT2T() argument
165 InitializeDepthStencilTextureRegion(src, clearDepth, regionDepth, clearStencil, in CreateInitializeDepthStencilTextureAndCopyT2T()
487 passDescriptor.cDepthStencilAttachmentInfo.clearDepth = 0.7; in TEST_P()
/third_party/vk-gl-cts/modules/gles3/functional/
Des3fFboDepthbufferTests.cpp76 float clearDepth = 1.0f; in render() local
103 glClearBufferfv(GL_DEPTH, 0, &clearDepth); in render()
168 const float clearDepth = 1.0f; in render() local
195 glClearBufferfv(GL_DEPTH, 0, &clearDepth); in render()
254 const float clearDepth = 1.0f; in render() local
281 glClearBufferfv(GL_DEPTH, 0, &clearDepth); in render()
Des3fDepthStencilClearTests.cpp70 , clearDepth (0.0f) in Clear()
80 float clearDepth; member
254 clear->clearDepth = rnd.getFloat(-0.2f, 1.2f); in generateClears()
303 gl.clearDepthf (clear->clearDepth); in renderGL()
434 rowAccess.setPixDepth(de::clamp(clear->clearDepth, 0.0f, 1.0f), x, 0); in renderReference()
/third_party/flutter/skia/third_party/externals/angle2/src/tests/gl_tests/
DClearTest.cpp143 bool *clearDepth, in ParseMaskedScissoredClearVariationsTestParams() argument
155 *clearDepth = depthClearInfo > 0; in ParseMaskedScissoredClearVariationsTestParams()
173 bool clearColor, clearDepth, clearStencil; in MaskedScissoredClearVariationsTestPrint() local
177 ParseMaskedScissoredClearVariationsTestParams(params, &clearColor, &clearDepth, &clearStencil, in MaskedScissoredClearVariationsTestPrint()
185 if (clearColor || clearDepth || clearStencil) in MaskedScissoredClearVariationsTestPrint()
192 if (clearDepth) in MaskedScissoredClearVariationsTestPrint()
1246 bool clearColor, clearDepth, clearStencil; in MaskedScissoredColorDepthStencilClear() local
1250 ParseMaskedScissoredClearVariationsTestParams(params, &clearColor, &clearDepth, &clearStencil, in MaskedScissoredColorDepthStencilClear()
1254 ANGLE_SKIP_TEST_IF(IsLinux() && IsIntel() && IsDesktopOpenGL() && clearDepth && !maskDepth); in MaskedScissoredColorDepthStencilClear()
1272 glClear((clearColor ? GL_COLOR_BUFFER_BIT : 0) | (clearDepth ? GL_DEPTH_BUFFER_BIT : 0) | in MaskedScissoredColorDepthStencilClear()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/shaders/
Dclear.metal15 float clearDepth;
21 return float4(gCorners[vid], clearParams.clearDepth, 1.0);
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
DvkCmdUtil.cpp117 const float clearDepth, in beginRenderPass() argument
125 makeClearValueDepthStencil(clearDepth, clearStencil), // attachment 1 in beginRenderPass()
171 const float clearDepth, in beginRenderPass() argument
178 makeClearValueDepthStencil(clearDepth, clearStencil), // attachment 1 in beginRenderPass()
DvkCmdUtil.hpp87 const float clearDepth,
106 const float clearDepth,
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DFramebufferVk.cpp230 bool clearDepth = IsMaskFlagSet(mask, static_cast<GLbitfield>(GL_DEPTH_BUFFER_BIT)); in clear() local
242 return clearImpl(context, clearColorBuffers, clearDepth, clearStencil, clearColorValue, in clear()
248 bool clearDepth, in clearImpl() argument
275 clearDepth = clearDepth && depthAttachment; in clearImpl()
276 ASSERT(!clearDepth || depthAttachment->isAttached()); in clearImpl()
288 ASSERT(!clearDepth || contextVk->getState().getDepthStencilState().depthMask); in clearImpl()
294 if (!clearColor && !clearDepth && !clearStencil) in clearImpl()
313 clearColorWithRenderPassLoadOp || clearDepth || clearStencilWithRenderPassLoadOp; in clearImpl()
327 contextVk, scissoredRenderArea, clearBuffersWithRenderPassLoadOp, clearDepth, in clearImpl()
338 clearDepth = false; in clearImpl()
[all …]
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/shaders/src/
DImageClear.frag42 float clearDepth;
51 gl_FragDepth = params.clearDepth;
/third_party/flutter/skia/third_party/externals/dawn/src/tests/end2end/
DViewportTests.cpp95 float clearDepth = 1.0f; member
119 renderPassDescriptor1.cDepthStencilAttachmentInfo.clearDepth = info.clearDepth; in DoTest()
144 renderPassDescriptor2.cDepthStencilAttachmentInfo.clearDepth = 0.5; in DoTest()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DFramebufferD3D.cpp49 clearParams.clearDepth = false; in GetClearParameters()
74 clearParams.clearDepth = true; in GetClearParameters()
127 clearParams.clearDepth = true; in clearBufferfv()
186 clearParams.clearDepth = true; in clearBufferfi()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
DFramebufferD3D.cpp40 clearParams.clearDepth = false; in GetClearParameters()
80 clearParams.clearDepth = true; in GetClearParameters()
133 clearParams.clearDepth = true; in clearBufferfv()
192 clearParams.clearDepth = true; in clearBufferfi()
/third_party/vk-gl-cts/modules/gles2/functional/
Des2fDepthStencilClearTests.cpp70 , clearDepth (0.0f) in Clear()
80 float clearDepth; member
251 clear->clearDepth = rnd.getFloat(-0.2f, 1.2f); in generateClears()
300 gl.clearDepthf (clear->clearDepth); in renderGL()
431 rowAccess.setPixDepth(de::clamp(clear->clearDepth, 0.0f, 1.0f), x, 0); in renderReference()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
DFramebufferVk.cpp435 bool clearDepth = IsMaskFlagSet(mask, static_cast<GLbitfield>(GL_DEPTH_BUFFER_BIT)); in clear() local
447 return clearImpl(context, clearColorBuffers, clearDepth, clearStencil, clearColorValue, in clear()
453 bool clearDepth, in clearImpl() argument
465 ASSERT(!clearDepth || mState.getDepthAttachment() != nullptr); in clearImpl()
472 ASSERT(clearColor || clearDepth || clearStencil); in clearImpl()
480 ASSERT(!clearDepth || contextVk->getState().getDepthStencilState().depthMask); in clearImpl()
493 bool clearDepthWithDraw = clearDepth && scissoredClear; in clearImpl()
535 clearDepthWithDraw = clearDepth; in clearImpl()
546 mergeClearsWithDeferredClears(clearColorDrawBuffersMask, clearDepth && !clearDepthWithDraw, in clearImpl()
627 bool clearDepth = false; in clearBufferfv() local
[all …]
DFramebufferVk.h193 bool clearDepth,
199 bool clearDepth,
206 bool clearDepth,
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
DClearTest.cpp124 bool *clearDepth, in ParseMaskedScissoredClearVariationsTestParams() argument
136 *clearDepth = depthClearInfo > 0; in ParseMaskedScissoredClearVariationsTestParams()
154 bool clearColor, clearDepth, clearStencil; in MaskedScissoredClearVariationsTestPrint() local
158 ParseMaskedScissoredClearVariationsTestParams(params, &clearColor, &clearDepth, &clearStencil, in MaskedScissoredClearVariationsTestPrint()
161 if (scissor || clearColor || clearDepth || clearStencil || maskColor || maskDepth || in MaskedScissoredClearVariationsTestPrint()
172 if (clearColor || clearDepth || clearStencil) in MaskedScissoredClearVariationsTestPrint()
179 if (clearDepth) in MaskedScissoredClearVariationsTestPrint()
1665 bool clearColor, clearDepth, clearStencil; in maskedScissoredColorDepthStencilClear() local
1669 ParseMaskedScissoredClearVariationsTestParams(params, &clearColor, &clearDepth, &clearStencil, in maskedScissoredColorDepthStencilClear()
1673 ANGLE_SKIP_TEST_IF(IsLinux() && IsIntel() && IsDesktopOpenGL() && clearDepth && !maskDepth); in maskedScissoredColorDepthStencilClear()
[all …]
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
DvktPipelineReferenceRenderer.cpp211 tcu::clearDepth(m_depthStencilBuffer.getAccess(), defaultClearDepth()); in ReferenceRenderer()
214 tcu::clearDepth(m_resolveDepthStencilBuffer.getAccess(), defaultClearDepth()); in ReferenceRenderer()
235 tcu::clearDepth(m_depthStencilBuffer.getAccess(), defaultClearDepth()); in ReferenceRenderer()
239 tcu::clearDepth(m_resolveDepthStencilBuffer.getAccess(), defaultClearDepth()); in ReferenceRenderer()
/third_party/flutter/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DClear11.cpp572 if (clearParams.clearDepth || clearParams.clearStencil) in clearFramebuffer()
593 const UINT clearFlags = (clearParams.clearDepth ? D3D11_CLEAR_DEPTH : 0) | in clearFramebuffer()
660 mDepthStencilStateKey.depthTest = clearParams.clearDepth; in clearFramebuffer()
661 mDepthStencilStateKey.depthMask = clearParams.clearDepth; in clearFramebuffer()
667 zValue = clearParams.clearDepth ? &clearParams.depthValue : nullptr; in clearFramebuffer()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
DClear11.cpp566 if (clearParams.clearDepth || clearParams.clearStencil) in clearFramebuffer()
589 const UINT clearFlags = (clearParams.clearDepth ? D3D11_CLEAR_DEPTH : 0) | in clearFramebuffer()
657 mDepthStencilStateKey.depthTest = clearParams.clearDepth; in clearFramebuffer()
658 mDepthStencilStateKey.depthMask = clearParams.clearDepth; in clearFramebuffer()
664 zValue = clearParams.clearDepth ? &clearParams.depthValue : nullptr; in clearFramebuffer()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/shaders/gen/
DImageClear.frag.00000025.inc39 // float clearDepth;
48 // gl_FragDepth = params . clearDepth;
DImageClear.frag.0000001F.inc39 // float clearDepth;
48 // gl_FragDepth = params . clearDepth;
DImageClear.frag.00000009.inc39 // float clearDepth;
48 // gl_FragDepth = params . clearDepth;
DImageClear.frag.00000021.inc39 // float clearDepth;
48 // gl_FragDepth = params . clearDepth;
DImageClear.frag.0000000D.inc39 // float clearDepth;
48 // gl_FragDepth = params . clearDepth;
DImageClear.frag.00000007.inc39 // float clearDepth;
48 // gl_FragDepth = params . clearDepth;

12345678