mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-27 14:10:25 +01:00
llvmpipe: fix broken stencil writemask
Fixes http://bugs.freedesktop.org/show_bug.cgi?id=32070
This commit is contained in:
parent
cd431a12bf
commit
dbf996f308
1 changed files with 1 additions and 1 deletions
|
|
@ -269,7 +269,7 @@ lp_build_stencil_op(struct lp_build_context *bld,
|
|||
stencil->writemask);
|
||||
mask = LLVMBuildAnd(builder, mask, writemask, "");
|
||||
/* res = (res & mask) | (stencilVals & ~mask) */
|
||||
res = lp_build_select_bitwise(bld, writemask, res, stencilVals);
|
||||
res = lp_build_select_bitwise(bld, mask, res, stencilVals);
|
||||
}
|
||||
else {
|
||||
/* res = mask ? res : stencilVals */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue