diff options
author | Jonathan Gray <jsg@cvs.openbsd.org> | 2016-05-29 10:22:51 +0000 |
---|---|---|
committer | Jonathan Gray <jsg@cvs.openbsd.org> | 2016-05-29 10:22:51 +0000 |
commit | c9223eed3c16cd3e98a8f56dda953d8f299de0e3 (patch) | |
tree | 53e2a1c3f13bcf6b4ed201d7bc135e7213c94ebe /lib/mesa/src/gallium/drivers/freedreno/freedreno_util.c | |
parent | 6e8f2d062ab9c198239b9283b2b7ed12f4ea17d8 (diff) |
Import Mesa 11.2.2
Diffstat (limited to 'lib/mesa/src/gallium/drivers/freedreno/freedreno_util.c')
-rw-r--r-- | lib/mesa/src/gallium/drivers/freedreno/freedreno_util.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/lib/mesa/src/gallium/drivers/freedreno/freedreno_util.c b/lib/mesa/src/gallium/drivers/freedreno/freedreno_util.c index 2acce06d1..c8f2127c9 100644 --- a/lib/mesa/src/gallium/drivers/freedreno/freedreno_util.c +++ b/lib/mesa/src/gallium/drivers/freedreno/freedreno_util.c @@ -104,10 +104,13 @@ fd_blend_factor(unsigned factor) case PIPE_BLENDFACTOR_INV_CONST_ALPHA: return FACTOR_ONE_MINUS_CONSTANT_ALPHA; case PIPE_BLENDFACTOR_INV_SRC1_COLOR: + return FACTOR_ONE_MINUS_SRC1_COLOR; case PIPE_BLENDFACTOR_INV_SRC1_ALPHA: + return FACTOR_ONE_MINUS_SRC1_ALPHA; case PIPE_BLENDFACTOR_SRC1_COLOR: + return FACTOR_SRC1_COLOR; case PIPE_BLENDFACTOR_SRC1_ALPHA: - /* I don't think these are supported */ + return FACTOR_SRC1_ALPHA; default: DBG("invalid blend factor: %x", factor); return 0; |