Home
last modified time | relevance | path

Searched refs:stencilRef (Results 1 - 23 of 23) sorted by relevance

/third_party/skia/src/gpu/vk/
H A DGrVkRenderPass.cpp134 VkAttachmentReference stencilRef; in Create() local
270 stencilRef.attachment = currentAttachment++; in Create()
271 stencilRef.layout = VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL; in Create()
273 clearValueCount = std::max(clearValueCount, stencilRef.attachment + 1); in Create()
276 stencilRef.attachment = VK_ATTACHMENT_UNUSED; in Create()
277 stencilRef.layout = VK_IMAGE_LAYOUT_UNDEFINED; in Create()
279 subpassDescMain.pDepthStencilAttachment = &stencilRef; in Create()
/third_party/skia/src/gpu/d3d/
H A DGrD3DOpsRenderPass.cpp81 unsigned int stencilRef = 0; in set_stencil_ref() local
85 stencilRef = stencilSettings.postOriginCCWFace(info.origin()).fRef; in set_stencil_ref()
87 stencilRef = stencilSettings.singleSidedFace().fRef; in set_stencil_ref()
89 gpu->currentCommandList()->setStencilRef(stencilRef); in set_stencil_ref()
H A DGrD3DCommandList.h163 void setStencilRef(unsigned int stencilRef);
H A DGrD3DCommandList.cpp321 void GrD3DDirectCommandList::setStencilRef(unsigned int stencilRef) { in setStencilRef() argument
323 fCommandList->OMSetStencilRef(stencilRef); in setStencilRef()
/third_party/vk-gl-cts/modules/gles31/functional/
H A Des31fStencilTexturingTests.cpp394 static bool compareStencilToRed (tcu::TestLog& log, const tcu::ConstPixelBufferAccess& stencilRef, const tcu::ConstPixelBufferAccess& result) in compareStencilToRed() argument
399 DE_ASSERT(stencilRef.getFormat().order == TextureFormat::S); in compareStencilToRed()
400 DE_ASSERT(stencilRef.getWidth() == result.getWidth() && stencilRef.getHeight() == result.getHeight()); in compareStencilToRed()
402 for (int y = 0; y < stencilRef.getHeight(); y++) in compareStencilToRed()
404 for (int x = 0; x < stencilRef.getWidth(); x++) in compareStencilToRed()
406 const int ref = stencilRef.getPixStencil(x, y); in compareStencilToRed()
427 log << TestLog::Image("Reference", "Reference stencil buffer", stencilToRedAccess(stencilRef)); in compareStencilToRed()
/third_party/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_bld_depth.c85 * \param stencilRef the stencil reference value, replicated as a vector
92 LLVMValueRef stencilRef, in lp_build_stencil_test_single()
114 /* compute stencilRef = stencilRef & valuemask */ in lp_build_stencil_test_single()
116 stencilRef = LLVMBuildAnd(builder, stencilRef, valuemask, ""); in lp_build_stencil_test_single()
121 res = lp_build_cmp(bld, stencil->func, stencilRef, stencilVals); in lp_build_stencil_test_single()
171 LLVMValueRef stencilRef, in lp_build_stencil_op_single()
207 res = stencilRef; in lp_build_stencil_op_single()
90 lp_build_stencil_test_single(struct lp_build_context *bld, const struct pipe_stencil_state *stencil, LLVMValueRef stencilRef, LLVMValueRef stencilVals) lp_build_stencil_test_single() argument
168 lp_build_stencil_op_single(struct lp_build_context *bld, const struct pipe_stencil_state *stencil, enum stencil_op op, LLVMValueRef stencilRef, LLVMValueRef stencilVals) lp_build_stencil_op_single() argument
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d9/
H A DStateManager9.cpp654 GLint stencilRef, in setStencilFuncsFront()
662 (stencilRef < static_cast<int>(maxStencil)) ? stencilRef : maxStencil); in setStencilFuncsFront()
666 mCurStencilRef = stencilRef; in setStencilFuncsFront()
652 setStencilFuncsFront(GLenum stencilFunc, GLuint stencilMask, GLint stencilRef, bool frontFaceCCW, unsigned int maxStencil) setStencilFuncsFront() argument
H A DStateManager9.h109 GLint stencilRef,
/third_party/skia/third_party/externals/swiftshader/src/OpenGL/libGLESv2/
H A DContext.cpp77 mState.stencilRef = 0; in Context()
483 void Context::setStencilParams(GLenum stencilFunc, GLint stencilRef, GLuint stencilMask) in setStencilParams() argument
486 mState.stencilRef != stencilRef || in setStencilParams()
490 mState.stencilRef = (stencilRef > 0) ? stencilRef : 0; in setStencilParams()
1986 case GL_STENCIL_REF: *params = mState.stencilRef; return true; in getIntegerv()
2924 device->setStencilReference((mState.stencilRef < (GLint)maxStencil) ? mState.stencilRef in applyState()
[all...]
H A DContext.h325 GLint stencilRef; member
436 void setStencilParams(GLenum stencilFunc, GLint stencilRef, GLuint stencilMask);
/third_party/vk-gl-cts/modules/egl/
H A DteglRenderTests.cpp125 int stencilRef; member
165 drawOp.stencilRef = rnd.getInt(minStencilRef, maxStencilRef); in randomizeDrawOp()
333 state.fragOps.stencilStates[0].ref = drawOp.stencilRef; in toReferenceRenderState()
611 gl.stencilFunc(GL_LEQUAL, drawOp.stencilRef, ~0u); in drawGLES2()
/third_party/mesa3d/src/gallium/drivers/svga/include/
H A Dsvga3d_dx.h523 uint32 stencilRef; member
2067 uint32 stencilRef; member
/third_party/mesa3d/src/gallium/drivers/svga/
H A Dsvga_cmd.h391 uint32 stencilRef);
H A Dsvga_cmd_vgpu10.c417 uint32 stencilRef) in SVGA3D_vgpu10_SetDepthStencilState()
421 SVGA3D_COPY_BASIC_2(depthStencilId, stencilRef); in SVGA3D_vgpu10_SetDepthStencilState()
415 SVGA3D_vgpu10_SetDepthStencilState(struct svga_winsys_context *swc, SVGA3dDepthStencilStateId depthStencilId, uint32 stencilRef) SVGA3D_vgpu10_SetDepthStencilState() argument
/third_party/skia/third_party/externals/angle2/src/libANGLE/renderer/d3d/d3d11/
H A DStateManager11.h281 void setDepthStencilState(const d3d11::DepthStencilState *depthStencilState, UINT stencilRef);
H A DStateManager11.cpp2539 UINT stencilRef)
2545 deviceContext->OMSetDepthStencilState(depthStencilState->get(), stencilRef);
2549 deviceContext->OMSetDepthStencilState(nullptr, stencilRef);
/third_party/vk-gl-cts/external/vulkancts/modules/vulkan/image/
H A DvktImageDepthStencilDescriptorTests.cpp1249 tcu::TextureLevel stencilRef(tcuBufferFormat, iExtent.x(), iExtent.y(), iExtent.z()); in iterate()
1250 auto colorPIxels = stencilRef.getAccess(); in iterate()
/third_party/vk-gl-cts/external/vulkancts/modules_no_buildgn/vulkan/image/
H A DvktImageDepthStencilDescriptorTests.cpp1249 tcu::TextureLevel stencilRef(tcuBufferFormat, iExtent.x(), iExtent.y(), iExtent.z()); in iterate()
1250 auto colorPIxels = stencilRef.getAccess(); in iterate()
/third_party/vk-gl-cts/modules/gles2/functional/
H A Des2fDepthStencilTests.cpp821 int stencilRef;
874 params.stencil[visible].reference = functionCases[ndx].stencilRef;
/third_party/vk-gl-cts/modules/gles3/functional/
H A Des3fDepthStencilTests.cpp821 int stencilRef;
874 params.stencil[visible].reference = functionCases[ndx].stencilRef;
/third_party/skia/third_party/externals/angle2/src/libANGLE/
H A DState.cpp1033 void State::setStencilParams(GLenum stencilFunc, GLint stencilRef, GLuint stencilMask) in setStencilParams() argument
1035 if (mDepthStencil.stencilFunc != stencilFunc || mStencilRef != stencilRef || in setStencilParams()
1039 mStencilRef = stencilRef; in setStencilParams()
H A DState.h211 void setStencilParams(GLenum stencilFunc, GLint stencilRef, GLuint stencilMask);
/third_party/mesa3d/src/gallium/drivers/svga/svgadump/
H A Dsvga_dump.c1564 SVGA3D_DUMP_PARAMETER(stencilRef, u); in SVGA3D_DUMP_HEADER()

Completed in 45 milliseconds