[Mesa-dev] [PATCH] nir: Add missing break into switch in construct_value()
Juha-Pekka Heikkila
juhapekka.heikkila at gmail.com
Fri Apr 22 06:45:10 UTC 2016
There seemed to be missing one break in nested switchcases.
Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila at gmail.com>
---
src/compiler/nir/nir_search.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/compiler/nir/nir_search.c b/src/compiler/nir/nir_search.c
index dc53a90..df80c0f 100644
--- a/src/compiler/nir/nir_search.c
+++ b/src/compiler/nir/nir_search.c
@@ -521,6 +521,7 @@ construct_value(const nir_search_value *value,
default:
unreachable("unknown bit size");
}
+ break;
case nir_type_bool32:
load->value.u32[0] = c->data.u;
--
1.9.1
More information about the mesa-dev
mailing list