diff options
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_bld_blend.c')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_bld_blend.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_bld_blend.c b/src/gallium/drivers/llvmpipe/lp_bld_blend.c index e070aac378..a144469b35 100644 --- a/src/gallium/drivers/llvmpipe/lp_bld_blend.c +++ b/src/gallium/drivers/llvmpipe/lp_bld_blend.c @@ -279,11 +279,7 @@ lp_build_blend(LLVMBuilderRef builder, /* Setup build context */ memset(&bld, 0, sizeof bld); - bld.base.builder = builder; - bld.base.type = type; - bld.base.undef = lp_build_undef(type); - bld.base.zero = lp_build_zero(type); - bld.base.one = lp_build_one(type); + lp_build_context_init(&bld.base, builder, type); bld.src = src; bld.dst = dst; bld.const_ = const_; |