From: Brian Paul Date: Fri, 9 Apr 2010 16:52:48 +0000 (-0600) Subject: llvmpipe: fix transposed stencil ref / values comparison X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7a01b13324f9d25a67f81ac370eb50e36c032ad4;p=mesa.git llvmpipe: fix transposed stencil ref / values comparison --- diff --git a/src/gallium/auxiliary/gallivm/lp_bld_depth.c b/src/gallium/auxiliary/gallivm/lp_bld_depth.c index c6d0e4bc04e..564ea2e3189 100644 --- a/src/gallium/auxiliary/gallivm/lp_bld_depth.c +++ b/src/gallium/auxiliary/gallivm/lp_bld_depth.c @@ -116,7 +116,7 @@ lp_build_stencil_test_single(struct lp_build_context *bld, stencilVals = LLVMBuildAnd(bld->builder, stencilVals, valuemask, ""); } - res = lp_build_cmp(bld, stencil->func, stencilVals, stencilRef); + res = lp_build_cmp(bld, stencil->func, stencilRef, stencilVals); return res; }