mesa: hook up core bits of GL_ARB_shader_group_vote
Signed-off-by: Ilia Mirkin <imirkin@alum.mit.edu> Reviewed-by: Ian Romanick <ian.d.romanick@intel.com> Reviewed-by: Dave Airlie <airlied@redhat.com>
This commit is contained in:
@@ -453,6 +453,14 @@ ir_validate::visit_leave(ir_expression *ir)
|
||||
assert(ir->operands[0]->type->base_type == GLSL_TYPE_SUBROUTINE);
|
||||
assert(ir->type->base_type == GLSL_TYPE_INT);
|
||||
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:
|
||||
|
Reference in New Issue
Block a user