tgsi: Add sanity checks to avoid out-of-bound access
The assertions are disabled in release builds so better double them with graceful handling of the issue.
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.
The assertions are disabled in release builds so better double them with graceful handling of the issue.