Searched defs:stencilRef (Results 1 - 7 of 7) sorted by relevance

/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
H A Dlp_bld_depth.c91 * \param stencilRef the stencil reference value, replicated as a vector
98 LLVMValueRef stencilRef,
120 /* compute stencilRef = stencilRef & valuemask */
122 stencilRef = LLVMBuildAnd(builder, stencilRef, valuemask, "");
127 res = lp_build_cmp(bld, stencil->func, stencilRef, stencilVals);
177 LLVMValueRef stencilRef,
213 res = stencilRef;
96 lp_build_stencil_test_single(struct lp_build_context *bld, const struct pipe_stencil_state *stencil, LLVMValueRef stencilRef, LLVMValueRef stencilVals) argument
174 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/deqp/modules/gles31/functional/
H A Des31fStencilTexturingTests.cpp392 static bool compareStencilToRed (tcu::TestLog& log, const tcu::ConstPixelBufferAccess& stencilRef, const tcu::ConstPixelBufferAccess& result) argument
397 DE_ASSERT(stencilRef.getFormat().order == TextureFormat::S);
398 DE_ASSERT(stencilRef.getWidth() == result.getWidth() && stencilRef.getHeight() == result.getHeight());
400 for (int y = 0; y < stencilRef.getHeight(); y++)
402 for (int x = 0; x < stencilRef.getWidth(); x++)
404 const int ref = stencilRef.getPixStencil(x, y);
425 log << TestLog::Image("Reference", "Reference stencil buffer", stencilToRedAccess(stencilRef));
/external/mesa3d/src/gallium/drivers/llvmpipe/
H A Dlp_bld_depth.c91 * \param stencilRef the stencil reference value, replicated as a vector
98 LLVMValueRef stencilRef,
120 /* compute stencilRef = stencilRef & valuemask */
122 stencilRef = LLVMBuildAnd(builder, stencilRef, valuemask, "");
127 res = lp_build_cmp(bld, stencil->func, stencilRef, stencilVals);
177 LLVMValueRef stencilRef,
213 res = stencilRef;
96 lp_build_stencil_test_single(struct lp_build_context *bld, const struct pipe_stencil_state *stencil, LLVMValueRef stencilRef, LLVMValueRef stencilVals) argument
174 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/chromium_org/third_party/angle/src/libGLESv2/
H A DState.cpp397 void State::setStencilParams(GLenum stencilFunc, GLint stencilRef, GLuint stencilMask) argument
400 mStencilRef = (stencilRef > 0) ? stencilRef : 0;
/external/deqp/modules/egl/
H A DteglRenderTests.cpp133 int stencilRef; member in struct:deqp::egl::__anon19839::DrawPrimitiveOp
157 drawOp.stencilRef = rnd.getInt(minStencilRef, maxStencilRef);
291 state.fragOps.stencilStates[0].ref = drawOp.stencilRef;
591 glStencilFunc(GL_LEQUAL, drawOp.stencilRef, ~0u);
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d11/
H A DRenderer11.cpp647 void Renderer11::setDepthStencilState(const gl::DepthStencilState &depthStencilState, int stencilRef, argument
652 stencilRef != mCurStencilRef || stencilBackRef != mCurStencilBackRef)
655 ASSERT(stencilRef == stencilBackRef);
671 UINT dxStencilRef = std::min<UINT>(stencilRef, 0xFFu);
676 mCurStencilRef = stencilRef;
/external/chromium_org/third_party/angle/src/libGLESv2/renderer/d3d/d3d9/
H A DRenderer9.cpp859 void Renderer9::setDepthStencilState(const gl::DepthStencilState &depthStencilState, int stencilRef, argument
864 bool stencilRefChanged = mForceSetDepthStencilState || stencilRef != mCurStencilRef ||
896 ASSERT(stencilRef == stencilBackRef);
908 (stencilRef < (int)maxStencil) ? stencilRef : maxStencil);
943 mCurStencilRef = stencilRef;

Completed in 327 milliseconds