mesa: check for invalid index on UUID glGet queries
authorAndres Rodriguez <andresx7@gmail.com>
Fri, 22 Dec 2017 00:18:59 +0000 (19:18 -0500)
committerAndres Rodriguez <andresx7@gmail.com>
Tue, 30 Jan 2018 20:13:49 +0000 (15:13 -0500)
commit0a89784bcc988d602bbe8b310aca8c54ef03d954
treeb7c5932a63e3f4bd87c22ebee02c6126ae2e6b92
parent566ed727a4a56d0b6e2f638734f501beea0bd0c0
mesa: check for invalid index on UUID glGet queries

This fixes the piglit test:
spec/ext_semaphore/api-errors/usigned-byte-i-v-bad-value

Signed-off-by: Andres Rodriguez <andresx7@gmail.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/mesa/main/get.c