shader: Do some basic sanity checks in emit_ios and return early on failure
Allows to just reject the shader in case the provided shader is corrupted.
Closes https://gitlab.freedesktop.org/virgl/virglrenderer/-/issues/354
Edited by Corentin Noël
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.
Allows to just reject the shader in case the provided shader is corrupted.
Closes https://gitlab.freedesktop.org/virgl/virglrenderer/-/issues/354