Home
last modified time | relevance | path

Searched refs:stencilRef (Results 1 – 16 of 16) sorted by relevance

/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
Ddepthstencil.h180 simdscalar stencilRef; in DepthStencilTest() local
194 stencilRef = _simd_set1_ps((float)(stencilRefValue & stencilTestMask)); in DepthStencilTest()
200 case ZFUNC_LE: stencilMask = _simd_cmple_ps(stencilRef, stencilWithMask); break; in DepthStencilTest()
201 case ZFUNC_LT: stencilMask = _simd_cmplt_ps(stencilRef, stencilWithMask); break; in DepthStencilTest()
202 case ZFUNC_GT: stencilMask = _simd_cmpgt_ps(stencilRef, stencilWithMask); break; in DepthStencilTest()
203 case ZFUNC_GE: stencilMask = _simd_cmpge_ps(stencilRef, stencilWithMask); break; in DepthStencilTest()
204 case ZFUNC_EQ: stencilMask = _simd_cmpeq_ps(stencilRef, stencilWithMask); break; in DepthStencilTest()
205 case ZFUNC_NE: stencilMask = _simd_cmpneq_ps(stencilRef, stencilWithMask); break; in DepthStencilTest()
/external/skia/src/gpu/vk/
DGrVkRenderPass.cpp64 VkAttachmentReference stencilRef; in init() local
107 stencilRef.attachment = currentAttachment++; in init()
108 stencilRef.layout = VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL; in init()
110 fClearValueCount = SkTMax(fClearValueCount, stencilRef.attachment + 1); in init()
113 stencilRef.attachment = VK_ATTACHMENT_UNUSED; in init()
114 stencilRef.layout = VK_IMAGE_LAYOUT_UNDEFINED; in init()
116 subpassDesc.pDepthStencilAttachment = &stencilRef; in init()
/external/skqp/src/gpu/vk/
DGrVkRenderPass.cpp64 VkAttachmentReference stencilRef; in init() local
107 stencilRef.attachment = currentAttachment++; in init()
108 stencilRef.layout = VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL; in init()
110 fClearValueCount = SkTMax(fClearValueCount, stencilRef.attachment + 1); in init()
113 stencilRef.attachment = VK_ATTACHMENT_UNUSED; in init()
114 stencilRef.layout = VK_IMAGE_LAYOUT_UNDEFINED; in init()
116 subpassDesc.pDepthStencilAttachment = &stencilRef; in init()
/external/deqp/modules/gles31/functional/
Des31fStencilTexturingTests.cpp394 static bool compareStencilToRed (tcu::TestLog& log, const tcu::ConstPixelBufferAccess& stencilRef, … 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()
/external/mesa3d/src/gallium/drivers/llvmpipe/
Dlp_bld_depth.c91 LLVMValueRef stencilRef, in lp_build_stencil_test_single() argument
115 stencilRef = LLVMBuildAnd(builder, stencilRef, valuemask, ""); in lp_build_stencil_test_single()
120 res = lp_build_cmp(bld, stencil->func, stencilRef, stencilVals); in lp_build_stencil_test_single()
170 LLVMValueRef stencilRef, in lp_build_stencil_op_single() argument
206 res = stencilRef; in lp_build_stencil_op_single()
/external/swiftshader/src/OpenGL/libGLES_CM/
DContext.cpp72 mState.stencilRef = 0; in Context()
493 void Context::setStencilParams(GLenum stencilFunc, GLint stencilRef, GLuint stencilMask) in setStencilParams() argument
496 mState.stencilRef != stencilRef || in setStencilParams()
500 mState.stencilRef = (stencilRef > 0) ? stencilRef : 0; in setStencilParams()
1225 case GL_STENCIL_REF: *params = mState.stencilRef; break; in getIntegerv()
1847 …device->setStencilReference((mState.stencilRef < (GLint)maxStencil) ? mState.stencilRef : maxStenc… in applyState()
1857 …device->setStencilReferenceCCW((mState.stencilRef < (GLint)maxStencil) ? mState.stencilRef : maxSt… in applyState()
DContext.h237 GLint stencilRef; member
332 void setStencilParams(GLenum stencilFunc, GLint stencilRef, GLuint stencilMask);
/external/swiftshader/src/OpenGL/libGLESv2/
DContext.cpp77 mState.stencilRef = 0; in Context()
482 void Context::setStencilParams(GLenum stencilFunc, GLint stencilRef, GLuint stencilMask) in setStencilParams() argument
485 mState.stencilRef != stencilRef || in setStencilParams()
489 mState.stencilRef = (stencilRef > 0) ? stencilRef : 0; in setStencilParams()
1938 …case GL_STENCIL_REF: *params = mState.stencilRef; return t… in getIntegerv()
2859 …device->setStencilReference((mState.stencilRef < (GLint)maxStencil) ? mState.stencilRef : maxStenc… in applyState()
2881 …device->setStencilReferenceCCW((mState.stencilRef < (GLint)maxStencil) ? mState.stencilRef : maxSt… in applyState()
DContext.h354 GLint stencilRef; member
464 void setStencilParams(GLenum stencilFunc, GLint stencilRef, GLuint stencilMask);
/external/deqp/modules/egl/
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()
/external/mesa3d/src/gallium/drivers/svga/include/
Dsvga3d_dx.h376 uint32 stencilRef; member
1474 uint32 stencilRef; member
/external/mesa3d/src/gallium/drivers/svga/
Dsvga_cmd_vgpu10.c416 uint32 stencilRef) in SVGA3D_vgpu10_SetDepthStencilState() argument
420 SVGA3D_COPY_BASIC_2(depthStencilId, stencilRef); in SVGA3D_vgpu10_SetDepthStencilState()
Dsvga_cmd.h391 uint32 stencilRef);
/external/deqp/modules/gles3/functional/
Des3fDepthStencilTests.cpp821 int stencilRef; in init() member
874 params.stencil[visible].reference = functionCases[ndx].stencilRef; in init()
/external/deqp/modules/gles2/functional/
Des2fDepthStencilTests.cpp821 int stencilRef; in init() member
874 params.stencil[visible].reference = functionCases[ndx].stencilRef; in init()
/external/mesa3d/src/gallium/drivers/svga/svgadump/
Dsvga_dump.c1564 SVGA3D_DUMP_PARAMETER(stencilRef, u); in SVGA3D_DUMP_HEADER()