Module: Mesa
Branch: master
Commit: cc577ca3772980cafe04d3f20465b5a5d947c45d
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=cc577ca3772980cafe04d3f20465b5a5d947c45d

Author: Jason Ekstrand <[email protected]>
Date:   Thu Jun 29 10:33:23 2017 -0700

nir/spirv: Move a "}"

It's closing a "{" at the begining of a switch case.

Reviewed-by: Lionel Landwerlin <[email protected]>
Reviewed-by: Connor Abbott <[email protected]>

---

 src/compiler/spirv/vtn_variables.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/compiler/spirv/vtn_variables.c 
b/src/compiler/spirv/vtn_variables.c
index 974adb5d5c..31d1d76f33 100644
--- a/src/compiler/spirv/vtn_variables.c
+++ b/src/compiler/spirv/vtn_variables.c
@@ -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:

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to