projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ffdba7f
)
broadcom/vc5: Fix blendfactor zero handling.
author
Eric Anholt
<eric@anholt.net>
Thu, 5 Oct 2017 22:19:49 +0000
(15:19 -0700)
committer
Eric Anholt
<eric@anholt.net>
Tue, 10 Oct 2017 18:42:06 +0000
(11:42 -0700)
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.
src/gallium/drivers/vc5/vc5_emit.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/vc5/vc5_emit.c
b/src/gallium/drivers/vc5/vc5_emit.c
index dd055d49208d5a7a332be9d18e50bc83eb2640d0..9b82ff9071bd8d433fbd51e82d654c6c5ab344e0 100644
(file)
--- a/
src/gallium/drivers/vc5/vc5_emit.c
+++ b/
src/gallium/drivers/vc5/vc5_emit.c
@@
-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: