From 98971802798354cdba45c421cc340ec938143e03 Mon Sep 17 00:00:00 2001 From: José Fonseca Date: Sat, 22 Aug 2009 12:39:44 +0100 Subject: llvmpipe: Generate the fragment pipeline into a single function. Still hackish. Will document and optimize later. --- src/gallium/drivers/llvmpipe/lp_bld_flow.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gallium/drivers/llvmpipe/lp_bld_flow.c') diff --git a/src/gallium/drivers/llvmpipe/lp_bld_flow.c b/src/gallium/drivers/llvmpipe/lp_bld_flow.c index d94af0dea4..9d99e1a9d9 100644 --- a/src/gallium/drivers/llvmpipe/lp_bld_flow.c +++ b/src/gallium/drivers/llvmpipe/lp_bld_flow.c @@ -66,6 +66,8 @@ lp_build_mask_update(struct lp_build_mask_context *mask, else mask->value = value; + /* FIXME: disabled until we have proper control flow helpers */ +#if 0 cond = LLVMBuildICmp(mask->builder, LLVMIntEQ, LLVMBuildBitCast(mask->builder, mask->value, mask->reg_type, ""), @@ -95,6 +97,7 @@ lp_build_mask_update(struct lp_build_mask_context *mask, LLVMBuildCondBr(mask->builder, cond, mask->skip_block, new_block); LLVMPositionBuilderAtEnd(mask->builder, new_block); +#endif } -- cgit v1.2.3