glsl: Allow overloading of built-ins without hiding in GLSL ES.
The rules are explicitly different from desktop GLSL.
This commit is contained in:
parent
f412fac5b4
commit
a98d5a5ac8
|
@ -2279,7 +2279,7 @@ ast_function::hir(exec_list *instructions,
|
|||
* that the previously seen signature does not have an associated definition.
|
||||
*/
|
||||
f = state->symbols->get_function(name);
|
||||
if (f != NULL && !f->has_builtin_signature()) {
|
||||
if (f != NULL && (state->es_shader || !f->has_builtin_signature())) {
|
||||
sig = f->exact_matching_signature(&hir_parameters);
|
||||
if (sig != NULL) {
|
||||
const char *badvar = sig->qualifiers_match(&hir_parameters);
|
||||
|
|
Loading…
Reference in New Issue