summaryrefslogtreecommitdiff
path: root/src/gallium/drivers/llvmpipe/lp_bld_interp.h
diff options
context:
space:
mode:
authorKeith Whitwell <keithw@vmware.com>2010-01-11 12:06:51 +0000
committerKeith Whitwell <keithw@vmware.com>2010-01-11 12:12:59 +0000
commit86f450060debebd66dd5fb72f83800d7634efeaa (patch)
tree9042a96f8a3257bfa3a624ba157bcf7279ba8028 /src/gallium/drivers/llvmpipe/lp_bld_interp.h
parentad74ea286951634d49d500f2e5ce740072794fe2 (diff)
llvmpipe: force constant interpolation of flatshade colors
Nice speedup for gears.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_bld_interp.h')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_bld_interp.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_bld_interp.h b/src/gallium/drivers/llvmpipe/lp_bld_interp.h
index e2b3bc1bf0..ca958cdf34 100644
--- a/src/gallium/drivers/llvmpipe/lp_bld_interp.h
+++ b/src/gallium/drivers/llvmpipe/lp_bld_interp.h
@@ -79,6 +79,7 @@ struct lp_build_interp_soa_context
void
lp_build_interp_soa_init(struct lp_build_interp_soa_context *bld,
const struct tgsi_token *tokens,
+ boolean flatshade,
LLVMBuilderRef builder,
struct lp_type type,
LLVMValueRef a0_ptr,