shader: fix a couple of regressions detected by a full dEQP run
With the help of the new CI MR !694 (merged) by @cristicc, we already detected some regressions, one of this is explained in #257.
This MR fixes two of these regressions.
cc @gerddie
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.
With the help of the new CI MR !694 (merged) by @cristicc, we already detected some regressions, one of this is explained in #257.
This MR fixes two of these regressions.
cc @gerddie