glsl: apply implicit matching rules when linking
Previously when linking i.e. when compiler state was NULL. We just assumed all implicit matching was avaliable. Acked-by: Marek Olšák <marek.olsak@amd.com> Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/30752>
This commit is contained in:
@@ -687,7 +687,10 @@ ir_reader::read_call(s_expression *expr)
|
||||
}
|
||||
|
||||
ir_function_signature *callee =
|
||||
f->matching_signature(state, ¶meters, true);
|
||||
f->matching_signature(state, ¶meters,
|
||||
state->has_implicit_conversions(),
|
||||
state->has_implicit_int_to_uint_conversion(),
|
||||
true);
|
||||
if (callee == NULL) {
|
||||
ir_read_error(expr, "couldn't find matching signature for function "
|
||||
"%s", name->value());
|
||||
|
||||
Reference in New Issue
Block a user