Home
last modified time | relevance | path

Searched refs:clearStencil (Results 1 - 25 of 109) sorted by relevance

12345

/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fStencilTests.cpp150 static StencilOp clearStencil (int stencil) in clearStencil() function in deqp::gles3::Functional::StencilOp
235 context.clearStencil(op.stencil); in executeOps()
428 dst.push_back(StencilOp::clearStencil(targetStencil | ~mask)); in init()
451 dst.push_back(StencilOp::clearStencil(targetStencil-1)); in init()
455 dst.push_back(StencilOp::clearStencil(targetStencil)); in init()
462 dst.push_back(StencilOp::clearStencil(targetStencil+1)); in init()
466 dst.push_back(StencilOp::clearStencil(targetStencil)); in init()
471 dst.push_back(StencilOp::clearStencil((targetStencil-1)&maxStencil)); in init()
477 dst.push_back(StencilOp::clearStencil((targetStencil+1)&maxStencil)); in init()
484 dst.push_back(StencilOp::clearStencil(targetStenci in init()
[all...]
H A Des3fDepthStencilClearTests.cpp71 , clearStencil (0) in Clear()
81 int clearStencil; member
255 clear->clearStencil = rnd.getUint32(); in generateClears()
288 gl.clearStencil (0); in renderGL()
304 gl.clearStencil (clear->clearStencil); in renderGL()
480 deUint32 newVal = ((oldVal & ~clear->stencilMask) | (clear->clearStencil & clear->stencilMask)) & bufMask; in renderReference()
H A Des3fRandomFragmentOpTests.cpp310 const int clearStencil = CLEAR_STENCIL;
329 m_callLogWrapper.glClearStencil(clearStencil);
355 tcu::clearStencil (m_refStencilBuffer->getAccess(), clearStencil);
H A Des3fFboRenderTest.cpp567 context.clearStencil(1); in render()
570 context.clearStencil(2); in render()
680 context.clearStencil(1); in render()
710 context.clearStencil(1); in render()
913 context.clearStencil(1); in render()
928 context.clearStencil(0); in render()
1224 context.clearStencil(1); in render()
1319 ctx.clearStencil(1); in render()
1405 ctx.clearStencil(0); in render()
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fStencilTests.cpp147 static StencilOp clearStencil (int stencil) in clearStencil() function in deqp::gles2::Functional::StencilOp
232 context.clearStencil(op.stencil); in executeOps()
425 dst.push_back(StencilOp::clearStencil(targetStencil | ~mask)); in init()
448 dst.push_back(StencilOp::clearStencil(targetStencil-1)); in init()
452 dst.push_back(StencilOp::clearStencil(targetStencil)); in init()
459 dst.push_back(StencilOp::clearStencil(targetStencil+1)); in init()
463 dst.push_back(StencilOp::clearStencil(targetStencil)); in init()
468 dst.push_back(StencilOp::clearStencil((targetStencil-1)&maxStencil)); in init()
474 dst.push_back(StencilOp::clearStencil((targetStencil+1)&maxStencil)); in init()
481 dst.push_back(StencilOp::clearStencil(targetStenci in init()
[all...]
H A Des2fDepthStencilClearTests.cpp71 , clearStencil (0) in Clear()
81 int clearStencil; member
252 clear->clearStencil = rnd.getUint32(); in generateClears()
285 gl.clearStencil (0); in renderGL()
301 gl.clearStencil (clear->clearStencil); in renderGL()
477 deUint32 newVal = ((oldVal & ~clear->stencilMask) | (clear->clearStencil & clear->stencilMask)) & bufMask; in renderReference()
H A Des2fRandomFragmentOpTests.cpp310 const int clearStencil = CLEAR_STENCIL;
329 m_callLogWrapper.glClearStencil(clearStencil);
355 tcu::clearStencil (m_refStencilBuffer->getAccess(), clearStencil);
/third_party/vk-gl-cts/external/vulkancts/framework/vulkan/
H A DvkCmdUtil.cpp151 const deUint32 clearStencil, in beginRenderPass()
158 makeClearValueDepthStencil(clearDepth, clearStencil), // attachment 1 in beginRenderPass()
205 const deUint32 clearStencil, in beginRenderPass()
211 makeClearValueDepthStencil(clearDepth, clearStencil), // attachment 1 in beginRenderPass()
144 beginRenderPass(const DeviceInterface& vk, const VkCommandBuffer commandBuffer, const VkRenderPass renderPass, const VkFramebuffer framebuffer, const VkRect2D& renderArea, const tcu::Vec4& clearColor, const float clearDepth, const deUint32 clearStencil, const void* pNext, const VkSubpassContents contents) beginRenderPass() argument
198 beginRenderPass(const DeviceInterface& vk, const VkCommandBuffer commandBuffer, const VkRenderPass renderPass, const VkFramebuffer framebuffer, const VkRect2D& renderArea, const tcu::Vec4& clearColor, const float clearDepth, const deUint32 clearStencil, const VkSubpassContents contents) beginRenderPass() argument
H A DvkCmdUtil.hpp97 const deUint32 clearStencil,
116 const deUint32 clearStencil,
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/vulkan/
H A DFramebufferVk.cpp436 bool clearStencil = IsMaskFlagSet(mask, static_cast<GLbitfield>(GL_STENCIL_BUFFER_BIT)); in clear() local
447 return clearImpl(context, clearColorBuffers, clearDepth, clearStencil, clearColorValue, in clear()
454 bool clearStencil, in clearImpl()
466 ASSERT(!clearStencil || mState.getStencilAttachment() != nullptr); in clearImpl()
472 ASSERT(clearColor || clearDepth || clearStencil); in clearImpl()
482 ASSERT(!clearStencil || stencilMask != 0); in clearImpl()
490 const bool maskedClearStencil = clearStencil && stencilMask != 0xFF; in clearImpl()
494 bool clearStencilWithDraw = clearStencil && (maskedClearStencil || scissoredClear); in clearImpl()
536 clearStencilWithDraw = clearStencil; in clearImpl()
547 clearStencil in clearImpl()
451 clearImpl(const gl::Context *context, gl::DrawBufferMask clearColorBuffers, bool clearDepth, bool clearStencil, const VkClearColorValue &clearColorValue, const VkClearDepthStencilValue &clearDepthStencilValue) clearImpl() argument
674 bool clearStencil = false; clearBufferiv() local
2168 mergeClearsWithDeferredClears( gl::DrawBufferMask clearColorBuffers, bool clearDepth, bool clearStencil, const VkClearColorValue &clearColorValue, const VkClearDepthStencilValue &clearDepthStencilValue) mergeClearsWithDeferredClears() argument
2205 clearWithDraw(ContextVk *contextVk, const gl::Rectangle &clearArea, gl::DrawBufferMask clearColorBuffers, bool clearDepth, bool clearStencil, gl::BlendStateExt::ColorMaskStorage::Type colorMasks, uint8_t stencilMask, const VkClearColorValue &clearColorValue, const VkClearDepthStencilValue &clearDepthStencilValue) clearWithDraw() argument
[all...]
H A DFramebufferVk.h194 bool clearStencil,
200 bool clearStencil,
207 bool clearStencil,
/third_party/skia/third_party/externals/dawn/src/tests/end2end/
H A DDepthStencilCopyTests.cpp120 uint8_t clearStencil, in InitializeDepthStencilTextureRegion()
129 renderPassDesc.cDepthStencilAttachmentInfo.clearStencil = clearStencil; in InitializeDepthStencilTextureRegion()
152 uint8_t clearStencil, in CreateInitializeDepthStencilTextureAndCopyT2T()
165 InitializeDepthStencilTextureRegion(src, clearDepth, regionDepth, clearStencil, in CreateInitializeDepthStencilTextureAndCopyT2T()
117 InitializeDepthStencilTextureRegion(wgpu::Texture texture, float clearDepth, float regionDepth, uint8_t clearStencil, uint8_t regionStencil, uint32_t mipLevel = 0) InitializeDepthStencilTextureRegion() argument
150 CreateInitializeDepthStencilTextureAndCopyT2T(float clearDepth, float regionDepth, uint8_t clearStencil, uint8_t regionStencil, uint32_t width, uint32_t height, wgpu::TextureUsage usage, uint32_t mipLevel = 0) CreateInitializeDepthStencilTextureAndCopyT2T() argument
H A DDepthStencilSamplingTests.cpp266 passDescriptor.cDepthStencilAttachmentInfo.clearStencil = stencilValue; in UpdateInputStencil()
665 passDescriptor.cDepthStencilAttachmentInfo.clearStencil = 31; in TEST_P()
691 memcpy(&expectedValueU32, &passDescriptor.cDepthStencilAttachmentInfo.clearStencil, in TEST_P()
715 passDescriptor.cDepthStencilAttachmentInfo.clearStencil = 31; in TEST_P()
738 memcpy(&expectedValueU32, &passDescriptor.cDepthStencilAttachmentInfo.clearStencil, in TEST_P()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/
H A DFramebufferD3D.cpp42 clearParams.clearStencil = false; in GetClearParameters()
89 clearParams.clearStencil = true; in GetClearParameters()
177 clearParams.clearStencil = true; in clearBufferiv()
194 clearParams.clearStencil = true; in clearBufferfi()
/third_party/skia/third_party/externals/angle2/src/tests/gl_tests/
H A DClearTest.cpp125 bool *clearStencil, in ParseMaskedScissoredClearVariationsTestParams()
137 *clearStencil = stencilClearInfo > 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()
183 if (clearStencil) in MaskedScissoredClearVariationsTestPrint()
1665 bool clearColor, clearDepth, clearStencil; in maskedScissoredColorDepthStencilClear() local
1669 ParseMaskedScissoredClearVariationsTestParams(params, &clearColor, &clearDepth, &clearStencil, in maskedScissoredColorDepthStencilClear()
1692 (clearStencil in maskedScissoredColorDepthStencilClear()
121 ParseMaskedScissoredClearVariationsTestParams( const MaskedScissoredClearVariationsTestParams &params, bool *clearColor, bool *clearDepth, bool *clearStencil, bool *maskColor, bool *maskDepth, bool *maskStencil, bool *scissor) ParseMaskedScissoredClearVariationsTestParams() argument
1835 bool clearColor, clearDepth, clearStencil; TEST_P() local
1840 &clearStencil, &maskColor, &maskDepth, TEST_P() local
[all...]
/third_party/skia/third_party/externals/dawn/src/dawn_native/d3d12/
H A DRenderPassBuilderD3D12.cpp208 uint8_t clearStencil,
213 .Stencil = clearStencil;
H A DRenderPassBuilderD3D12.h73 uint8_t clearStencil,
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
H A DClear11.cpp566 if (clearParams.clearDepth || clearParams.clearStencil) in clearFramebuffer()
584 clearParams.clearStencil && in clearFramebuffer()
590 (clearParams.clearStencil ? D3D11_CLEAR_STENCIL : 0); in clearFramebuffer()
660 mDepthStencilStateKey.stencilTest = clearParams.clearStencil; in clearFramebuffer()
/third_party/vk-gl-cts/modules/egl/
H A DteglImageUtil.cpp368 GLU_CHECK_GLW_CALL(gl, clearStencil(0)); in initializeStencilRbo()
370 tcu::clearStencil(ref.getLevel(0), 0); in initializeStencilRbo()
384 GLU_CHECK_GLW_CALL(gl, clearStencil(stencil)); in initializeStencilRbo()
387 tcu::clearStencil(tcu::getSubregion(ref.getLevel(0), 0, 0, size.x(), size.y()), stencil); in initializeStencilRbo()
/third_party/vk-gl-cts/modules/glshared/
H A DglsScissorTests.cpp253 gl.clearStencil(0); in iterate()
274 gl.clearStencil(0); in iterate()
482 gl.clearStencil(123); in render()
835 const int clearStencil = 123; in render() local
845 case CLEAR_STENCIL: gl.clearBufferiv (GL_STENCIL, 0, &clearStencil); break; in render()
846 case CLEAR_DEPTH_STENCIL: gl.clearBufferfi (GL_DEPTH_STENCIL, 0, clearDepth, clearStencil); break; in render()
864 gl.stencilFunc(GL_EQUAL, clearStencil, ~0u); in render()
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/pipeline/
H A DvktPipelineReferenceRenderer.cpp222 tcu::clearStencil(m_depthStencilBuffer.getAccess(), defaultClearStencil()); in ReferenceRenderer()
225 tcu::clearStencil(m_resolveDepthStencilBuffer.getAccess(), defaultClearStencil()); in ReferenceRenderer()
236 tcu::clearStencil(m_depthStencilBuffer.getAccess(), defaultClearStencil()); in ReferenceRenderer()
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/metal/
H A Dmtl_state_cache.h368 return RenderPassAttachmentDesc::operator==(other) && clearStencil == other.clearStencil; in operator ==()
374 uint32_t clearStencil = 0; member
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/pipeline/
H A DvktPipelineReferenceRenderer.cpp222 tcu::clearStencil(m_depthStencilBuffer.getAccess(), defaultClearStencil()); in ReferenceRenderer()
225 tcu::clearStencil(m_resolveDepthStencilBuffer.getAccess(), defaultClearStencil()); in ReferenceRenderer()
236 tcu::clearStencil(m_depthStencilBuffer.getAccess(), defaultClearStencil()); in ReferenceRenderer()
/third_party/vk-gl-cts/framework/referencerenderer/
H A DrrMultisamplePixelBufferAccess.hpp101 void clearStencil (const MultisamplePixelBufferAccess& access, int stencil);
H A DrrMultisamplePixelBufferAccess.cpp239 void clearStencil (const MultisamplePixelBufferAccess& access, int stencil) in clearStencil() function
241 tcu::clearStencil(access.raw(), stencil); in clearStencil()

Completed in 25 milliseconds

12345