nir: Add missing break into switch in construct_value()
authorJuha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Fri, 22 Apr 2016 06:45:10 +0000 (09:45 +0300)
committerIan Romanick <ian.d.romanick@intel.com>
Tue, 26 Apr 2016 15:45:56 +0000 (17:45 +0200)
There seemed to be missing one break in nested switchcases.

Signed-off-by: Juha-Pekka Heikkila <juhapekka.heikkila@gmail.com>
Reviewed-by: Antia Puentes <apuentes@igalia.com>
Reviewed-by: Ian Romanick <ian.d.romanick@intel.com>
src/compiler/nir/nir_search.c

index dc53a9063c4f59d66aea032e7a0a489a582289bb..df80c0f8e14556edd4c7625ca4e5195360a733d5 100644 (file)
@@ -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;