summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/llvmpipe/lp_setup.c
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2010-01-13 21:51:47 +0000
committerJosé Fonseca <[email protected]>2010-01-13 21:51:47 +0000
commita1acbff299c444913418e65da473745cd901a2db (patch)
tree703a522d50872a584529032a8a6b0b9f6a86fb6b /src/gallium/drivers/llvmpipe/lp_setup.c
parent4231006e29cbf9fb54c72acf35009f3b18fe62ab (diff)
llvmpipe: Reset the bin when shading a whole tile with an opaque shader.
Diffstat (limited to 'src/gallium/drivers/llvmpipe/lp_setup.c')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_setup.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_setup.c b/src/gallium/drivers/llvmpipe/lp_setup.c
index 38ea0c663f1..61b968c49f5 100644
--- a/src/gallium/drivers/llvmpipe/lp_setup.c
+++ b/src/gallium/drivers/llvmpipe/lp_setup.c
@@ -364,12 +364,14 @@ lp_setup_set_fs_inputs( struct setup_context *setup,
void
lp_setup_set_fs_function( struct setup_context *setup,
- lp_jit_frag_func jit_function )
+ lp_jit_frag_func jit_function,
+ boolean opaque )
{
LP_DBG(DEBUG_SETUP, "%s %p\n", __FUNCTION__, (void *) jit_function);
/* FIXME: reference count */
setup->fs.current.jit_function = jit_function;
+ setup->fs.current.opaque = opaque;
setup->dirty |= LP_SETUP_NEW_FS;
}