summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Paul <brianp@vmware.com>2010-04-09 10:52:48 -0600
committerBrian Paul <brianp@vmware.com>2010-04-09 10:52:51 -0600
commit7a01b13324f9d25a67f81ac370eb50e36c032ad4 (patch)
treeea7236576ee0b8d7f099833da39ba9d02110681c /src
parent75b8c4a8f869f63991c774caa7e1cec7e988c5ec (diff)
llvmpipe: fix transposed stencil ref / values comparison
Diffstat (limited to 'src')
-rw-r--r--src/gallium/auxiliary/gallivm/lp_bld_depth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/gallivm/lp_bld_depth.c b/src/gallium/auxiliary/gallivm/lp_bld_depth.c
index c6d0e4bc04..564ea2e318 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;
}