summaryrefslogtreecommitdiffstats
path: root/src/compiler/nir
diff options
context:
space:
mode:
authorJuha-Pekka Heikkila <[email protected]>2016-04-22 09:45:10 +0300
committerIan Romanick <[email protected]>2016-04-26 17:45:56 +0200
commit940da2ce0ec989c8c8f1df2ad26f4a95014f4d08 (patch)
tree218594247abb3084a2d94e06a654cadbf742fbc6 /src/compiler/nir
parent31631d8515924df0dbaefd8bea3530dc5a4d02c8 (diff)
nir: Add missing break into switch in construct_value()
There seemed to be missing one break in nested switchcases. Signed-off-by: Juha-Pekka Heikkila <[email protected]> Reviewed-by: Antia Puentes <[email protected]> Reviewed-by: Ian Romanick <[email protected]>
Diffstat (limited to 'src/compiler/nir')
-rw-r--r--src/compiler/nir/nir_search.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/compiler/nir/nir_search.c b/src/compiler/nir/nir_search.c
index dc53a9063c4..df80c0f8e14 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;