llvmpipe: fix transposed stencil ref / values comparison

This commit is contained in:
Brian Paul 2010-04-09 10:52:48 -06:00
parent 75b8c4a8f8
commit 7a01b13324
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}