softpipe: fix maybe-uninitialized warning

Reviewed-by: Jose Fonseca <jfonseca@vmware.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7713>
This commit is contained in:
Michel Zou
2020-11-25 12:18:37 +01:00
committed by Marge Bot
parent 5a702fa4e5
commit 34e5b46fff
@@ -170,6 +170,8 @@ logicop_quad(struct quad_stage *qs,
src[j][1] = float_to_ubyte(quadColor[j][1]); /* P1 */
src[j][2] = float_to_ubyte(quadColor[j][2]); /* P2 */
src[j][3] = float_to_ubyte(quadColor[j][3]); /* P3 */
res[j][0] = 0;
}
switch (softpipe->blend->logicop_func) {