summaryrefslogtreecommitdiff
path: root/src/gallium/drivers
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers')
-rw-r--r--src/gallium/drivers/llvmpipe/lp_state_fs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gallium/drivers/llvmpipe/lp_state_fs.c b/src/gallium/drivers/llvmpipe/lp_state_fs.c
index 1ed9a2f5bf..ea5868dee1 100644
--- a/src/gallium/drivers/llvmpipe/lp_state_fs.c
+++ b/src/gallium/drivers/llvmpipe/lp_state_fs.c
@@ -1023,8 +1023,10 @@ llvmpipe_update_fs(struct llvmpipe_context *lp)
shader->current = variant;
/* TODO: put this in the variant */
+ /* TODO: most of these can be relaxed, in particular the colormask */
opaque = !key.blend.logicop_enable &&
!key.blend.blend_enable &&
+ key.blend.colormask == 0xf &&
!key.alpha.enabled &&
!key.depth.enabled &&
!shader->info.uses_kill