nir/spirv: Use a C99-style initializer for structure fields
[mesa.git] / src / glsl / ir_validate.cpp
index e63b5c318e3838384f0346e7b61abefb07fc84a7..dcc079cfe37afb4ec87b2ecfbf06982f628bad10 100644 (file)
@@ -320,11 +320,6 @@ ir_validate::visit_leave(ir_expression *ir)
       assert(ir->type->base_type == GLSL_TYPE_UINT);
       break;
 
-   case ir_unop_any:
-      assert(ir->operands[0]->type->base_type == GLSL_TYPE_BOOL);
-      assert(ir->type == glsl_type::bool_type);
-      break;
-
    case ir_unop_trunc:
    case ir_unop_round_even:
    case ir_unop_ceil: