summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/auxiliary/translate/translate_sse.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/gallium/auxiliary/translate/translate_sse.c b/src/gallium/auxiliary/translate/translate_sse.c
index 06b8f32fe6b..5188e49cd50 100644
--- a/src/gallium/auxiliary/translate/translate_sse.c
+++ b/src/gallium/auxiliary/translate/translate_sse.c
@@ -553,6 +553,13 @@ static boolean translate_attr_convert( struct translate_sse *p,
case 32:
factor = get_inv_2147483647(p);
break;
+ default:
+ assert(0);
+ factor.disp = 0;
+ factor.file = 0;
+ factor.idx = 0;
+ factor.mod = 0;
+ break;
}
sse_mulps(p->func, dataXMM, factor);
}
@@ -596,6 +603,13 @@ static boolean translate_attr_convert( struct translate_sse *p,
case 32:
factor = get_inv_2147483647(p);
break;
+ default:
+ assert(0);
+ factor.disp = 0;
+ factor.file = 0;
+ factor.idx = 0;
+ factor.mod = 0;
+ break;
}
sse_mulps(p->func, dataXMM, factor);
}