compiler: fix buggy usage of unreachable()
Cc: mesa-stable Signed-off-by: Eric Engestrom <eric@igalia.com> Reviewed-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/22529>
This commit is contained in:
committed by
Marge Bot
parent
0a0e485421
commit
f5ed1c79ae
@@ -574,7 +574,7 @@ ir_expression::ir_expression(int op, ir_rvalue *op0, ir_rvalue *op1)
|
||||
base = GLSL_TYPE_UINT64;
|
||||
break;
|
||||
default:
|
||||
unreachable(!"Invalid base type.");
|
||||
unreachable("Invalid base type.");
|
||||
}
|
||||
|
||||
this->type = glsl_type::get_instance(base, op0->type->vector_elements, 1);
|
||||
|
||||
Reference in New Issue
Block a user