summaryrefslogtreecommitdiffstats
path: root/src/compiler/glsl/ir_validate.cpp
diff options
context:
space:
mode:
authorNicolai Hähnle <[email protected]>2017-04-19 10:47:08 +0200
committerNicolai Hähnle <[email protected]>2017-04-28 11:33:59 +0200
commitce55afc4d6d3d97440856cad117d02c20fb952a9 (patch)
tree5ca91dbc2dde724c262af0679933bca9a0fd31e8 /src/compiler/glsl/ir_validate.cpp
parent0aef96e00cfd0ba5cb584fcb3c1a66e919d2e5a8 (diff)
glsl: remove the shader_group_vote and shader_ballot expression ops
They are now no longer used.
Diffstat (limited to 'src/compiler/glsl/ir_validate.cpp')
-rw-r--r--src/compiler/glsl/ir_validate.cpp23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/compiler/glsl/ir_validate.cpp b/src/compiler/glsl/ir_validate.cpp
index df76a7cafd8..8f546372466 100644
--- a/src/compiler/glsl/ir_validate.cpp
+++ b/src/compiler/glsl/ir_validate.cpp
@@ -582,29 +582,6 @@ ir_validate::visit_leave(ir_expression *ir)
assert(ir->type->base_type == GLSL_TYPE_INT);
break;
- case ir_unop_ballot:
- assert(ir->type == glsl_type::uint64_t_type);
- assert(ir->operands[0]->type == glsl_type::bool_type);
- break;
-
- case ir_binop_read_invocation:
- assert(ir->operands[1]->type == glsl_type::uint_type);
- /* fall-through */
- case ir_unop_read_first_invocation:
- assert(ir->type == ir->operands[0]->type);
- assert(ir->type->is_scalar() || ir->type->is_vector());
- assert(ir->type->is_float() ||
- ir->type->base_type == GLSL_TYPE_INT ||
- ir->type->base_type == GLSL_TYPE_UINT);
- break;
-
- case ir_unop_vote_any:
- case ir_unop_vote_all:
- case ir_unop_vote_eq:
- assert(ir->type == glsl_type::bool_type);
- assert(ir->operands[0]->type == glsl_type::bool_type);
- break;
-
case ir_binop_add:
case ir_binop_sub:
case ir_binop_mul: