nir/spirv: Move a "}"
authorJason Ekstrand <jason@jlekstrand.net>
Thu, 29 Jun 2017 17:33:23 +0000 (10:33 -0700)
committerJason Ekstrand <jason.ekstrand@intel.com>
Wed, 5 Jul 2017 22:26:51 +0000 (15:26 -0700)
It's closing a "{" at the begining of a switch case.

Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
Reviewed-by: Connor Abbott <cwabbott0@gmail.com>
src/compiler/spirv/vtn_variables.c

index 974adb5d5c71457446c912e31db39d609136ccfb..31d1d76f3333a19d9640eca41a2c5f7e6cbaf332 100644 (file)
@@ -1490,10 +1490,10 @@ vtn_handle_variables(struct vtn_builder *b, SpvOp opcode,
           */
          vtn_foreach_decoration(b, interface_type->val, var_decoration_cb, var);
          break;
+      }
 
       case vtn_variable_mode_param:
          unreachable("Not created through OpVariable");
-      }
 
       case vtn_variable_mode_ubo:
       case vtn_variable_mode_ssbo: