broadcom/vc5: Fix blendfactor zero handling.

I cut the line out to move it up to the top, when putting "0" in the
switch made the compiler complain that that wasn't a valid enum.
This commit is contained in:
Eric Anholt 2017-10-05 15:19:49 -07:00
parent ffdba7fd4c
commit 5208d2889e

View file

@ -36,6 +36,7 @@ vc5_factor(enum pipe_blendfactor factor)
switch (factor) {
case PIPE_BLENDFACTOR_ZERO:
return V3D_BLEND_FACTOR_ZERO;
case PIPE_BLENDFACTOR_ONE:
return V3D_BLEND_FACTOR_ONE;
case PIPE_BLENDFACTOR_SRC_COLOR: