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

/external/skia/src/gpu/vk/
H A DGrVkRenderPass.cpp64 VkAttachmentReference stencilRef; local
107 stencilRef.attachment = currentAttachment++;
108 stencilRef.layout = VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL;
110 fClearValueCount = SkTMax(fClearValueCount, stencilRef.attachment + 1);
113 stencilRef.attachment = VK_ATTACHMENT_UNUSED;
114 stencilRef.layout = VK_IMAGE_LAYOUT_UNDEFINED;
116 subpassDesc.pDepthStencilAttachment = &stencilRef;
/external/skqp/src/gpu/vk/
H A DGrVkRenderPass.cpp64 VkAttachmentReference stencilRef; local
107 stencilRef.attachment = currentAttachment++;
108 stencilRef.layout = VK_IMAGE_LAYOUT_DEPTH_STENCIL_ATTACHMENT_OPTIMAL;
110 fClearValueCount = SkTMax(fClearValueCount, stencilRef.attachment + 1);
113 stencilRef.attachment = VK_ATTACHMENT_UNUSED;
114 stencilRef.layout = VK_IMAGE_LAYOUT_UNDEFINED;
116 subpassDesc.pDepthStencilAttachment = &stencilRef;
/external/mesa3d/src/gallium/drivers/swr/rasterizer/core/
H A Ddepthstencil.h180 simdscalar stencilRef; local
194 stencilRef = _simd_set1_ps((float)(stencilRefValue & stencilTestMask));
200 case ZFUNC_LE: stencilMask = _simd_cmple_ps(stencilRef, stencilWithMask); break;
201 case ZFUNC_LT: stencilMask = _simd_cmplt_ps(stencilRef, stencilWithMask); break;
202 case ZFUNC_GT: stencilMask = _simd_cmpgt_ps(stencilRef, stencilWithMask); break;
203 case ZFUNC_GE: stencilMask = _simd_cmpge_ps(stencilRef, stencilWithMask); break;
204 case ZFUNC_EQ: stencilMask = _simd_cmpeq_ps(stencilRef, stencilWithMask); break;
205 case ZFUNC_NE: stencilMask = _simd_cmpneq_ps(stencilRef, stencilWithMask); break;
/external/deqp/modules/gles31/functional/
H A Des31fStencilTexturingTests.cpp394 static bool compareStencilToRed (tcu::TestLog& log, const tcu::ConstPixelBufferAccess& stencilRef, const tcu::ConstPixelBufferAccess& result) argument
399 DE_ASSERT(stencilRef.getFormat().order == TextureFormat::S);
400 DE_ASSERT(stencilRef.getWidth() == result.getWidth() && stencilRef.getHeight() == result.getHeight());
402 for (int y = 0; y < stencilRef.getHeight(); y++)
404 for (int x = 0; x < stencilRef.getWidth(); x++)
406 const int ref = stencilRef.getPixStencil(x, y);
427 log << TestLog::Image("Reference", "Reference stencil buffer", stencilToRedAccess(stencilRef));
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_bld_depth.c84 * \param stencilRef the stencil reference value, replicated as a vector
91 LLVMValueRef stencilRef,
113 /* compute stencilRef = stencilRef & valuemask */
115 stencilRef = LLVMBuildAnd(builder, stencilRef, valuemask, "");
120 res = lp_build_cmp(bld, stencil->func, stencilRef, stencilVals);
170 LLVMValueRef stencilRef,
206 res = stencilRef;
89 lp_build_stencil_test_single(struct lp_build_context *bld, const struct pipe_stencil_state *stencil, LLVMValueRef stencilRef, LLVMValueRef stencilVals) argument
167 lp_build_stencil_op_single(struct lp_build_context *bld, const struct pipe_stencil_state *stencil, enum stencil_op op, LLVMValueRef stencilRef, LLVMValueRef stencilVals) argument
/external/swiftshader/src/OpenGL/libGL/
H A DContext.cpp75 mState.stencilRef = 0;
463 void Context::setStencilParams(GLenum stencilFunc, GLint stencilRef, GLuint stencilMask) argument
466 mState.stencilRef != stencilRef ||
470 mState.stencilRef = (stencilRef > 0) ? stencilRef : 0;
1308 case GL_STENCIL_REF: *params = mState.stencilRef; break;
1783 mState.stencilRef != mState.stencilBackRef ||
1799 device->setStencilReference((mState.stencilRef < (GLin
[all...]
H A DContext.h440 GLint stencilRef; member in struct:gl::State
538 void setStencilParams(GLenum stencilFunc, GLint stencilRef, GLuint stencilMask);
/external/mesa3d/src/gallium/drivers/svga/include/
H A Dsvga3d_dx.h376 uint32 stencilRef; member in struct:SVGA3dCmdDXSetDepthStencilState
1474 uint32 stencilRef; member in struct:SVGADXContextMobFormat::__anon16582
/external/swiftshader/src/OpenGL/libGLES_CM/
H A DContext.h237 GLint stencilRef; member in struct:es1::State
332 void setStencilParams(GLenum stencilFunc, GLint stencilRef, GLuint stencilMask);
H A DContext.cpp72 mState.stencilRef = 0;
493 void Context::setStencilParams(GLenum stencilFunc, GLint stencilRef, GLuint stencilMask) argument
496 mState.stencilRef != stencilRef ||
500 mState.stencilRef = (stencilRef > 0) ? stencilRef : 0;
1225 case GL_STENCIL_REF: *params = mState.stencilRef; break;
1846 device->setStencilReference((mState.stencilRef < (GLint)maxStencil) ? mState.stencilRef
[all...]
/external/deqp/modules/egl/
H A DteglRenderTests.cpp125 int stencilRef; member in struct:deqp::egl::__anon4903::DrawPrimitiveOp
165 drawOp.stencilRef = rnd.getInt(minStencilRef, maxStencilRef);
327 state.fragOps.stencilStates[0].ref = drawOp.stencilRef;
605 gl.stencilFunc(GL_LEQUAL, drawOp.stencilRef, ~0u);
/external/swiftshader/src/OpenGL/libGLESv2/
H A DContext.cpp77 mState.stencilRef = 0;
482 void Context::setStencilParams(GLenum stencilFunc, GLint stencilRef, GLuint stencilMask) argument
485 mState.stencilRef != stencilRef ||
489 mState.stencilRef = (stencilRef > 0) ? stencilRef : 0;
1950 case GL_STENCIL_REF: *params = mState.stencilRef; return true;
2886 device->setStencilReference((mState.stencilRef < (GLint)maxStencil) ? mState.stencilRef
[all...]
H A DContext.h354 GLint stencilRef; member in struct:es2::State
464 void setStencilParams(GLenum stencilFunc, GLint stencilRef, GLuint stencilMask);
/external/mesa3d/src/gallium/drivers/svga/
H A Dsvga_cmd.h391 uint32 stencilRef);
H A Dsvga_cmd_vgpu10.c416 uint32 stencilRef)
420 SVGA3D_COPY_BASIC_2(depthStencilId, stencilRef);
414 SVGA3D_vgpu10_SetDepthStencilState(struct svga_winsys_context *swc, SVGA3dDepthStencilStateId depthStencilId, uint32 stencilRef) argument
/external/deqp/modules/gles2/functional/
H A Des2fDepthStencilTests.cpp821 int stencilRef;
874 params.stencil[visible].reference = functionCases[ndx].stencilRef;
/external/deqp/modules/gles3/functional/
H A Des3fDepthStencilTests.cpp821 int stencilRef;
874 params.stencil[visible].reference = functionCases[ndx].stencilRef;
/external/mesa3d/src/gallium/drivers/svga/svgadump/
H A Dsvga_dump.c1564 SVGA3D_DUMP_PARAMETER(stencilRef, u);

Completed in 414 milliseconds