diff options
author | José Fonseca <jfonseca@vmware.com> | 2009-08-22 12:39:44 +0100 |
---|---|---|
committer | José Fonseca <jfonseca@vmware.com> | 2009-08-29 09:21:40 +0100 |
commit | 98971802798354cdba45c421cc340ec938143e03 (patch) | |
tree | 4cbddfefc0f582ac29ccd87411abcb3c61532cca /src/gallium/drivers/llvmpipe/lp_bld_flow.c | |
parent | 64cc71167f986f6cd29abb228295cf6441b07832 (diff) |
llvmpipe: Generate the fragment pipeline into a single function.
Still hackish. Will document and optimize later.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_bld_flow.c')
-rw-r--r-- | src/gallium/drivers/llvmpipe/lp_bld_flow.c | 3 |
1 files changed, 3 insertions, 0 deletions
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 } |