aboutsummaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/freedreno/a2xx/fd2_blend.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium/drivers/freedreno/a2xx/fd2_blend.c')
-rw-r--r--src/gallium/drivers/freedreno/a2xx/fd2_blend.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gallium/drivers/freedreno/a2xx/fd2_blend.c b/src/gallium/drivers/freedreno/a2xx/fd2_blend.c
index b3cb23977b1..f063ebed66a 100644
--- a/src/gallium/drivers/freedreno/a2xx/fd2_blend.c
+++ b/src/gallium/drivers/freedreno/a2xx/fd2_blend.c
@@ -40,15 +40,15 @@ blend_func(unsigned func)
{
switch (func) {
case PIPE_BLEND_ADD:
- return BLEND_DST_PLUS_SRC;
+ return BLEND2_DST_PLUS_SRC;
case PIPE_BLEND_MIN:
- return BLEND_MIN_DST_SRC;
+ return BLEND2_MIN_DST_SRC;
case PIPE_BLEND_MAX:
- return BLEND_MAX_DST_SRC;
+ return BLEND2_MAX_DST_SRC;
case PIPE_BLEND_SUBTRACT:
- return BLEND_SRC_MINUS_DST;
+ return BLEND2_SRC_MINUS_DST;
case PIPE_BLEND_REVERSE_SUBTRACT:
- return BLEND_DST_MINUS_SRC;
+ return BLEND2_DST_MINUS_SRC;
default:
DBG("invalid blend func: %x", func);
return 0;