glsl: fix constant in parameter check
Only checking the type means we would incorrectly throw an error for arrays of constants.
Fixes: ac0f8bae ("glsl: Combine AST-level and IR-level parameter mode checking loops.")
Closes: #6365 (closed)
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
Only checking the type means we would incorrectly throw an error for arrays of constants.
Fixes: ac0f8bae ("glsl: Combine AST-level and IR-level parameter mode checking loops.")
Closes: #6365 (closed)