mesa: fix error codes for importing memory/semaphore FDs
authorAndres Rodriguez <andresx7@gmail.com>
Thu, 21 Dec 2017 22:59:07 +0000 (17:59 -0500)
committerAndres Rodriguez <andresx7@gmail.com>
Tue, 30 Jan 2018 20:13:49 +0000 (15:13 -0500)
commit0ebd3cc86318269a1fafc368b0fd95c71b19c634
tree9ed5f7344826bcc8bb2cf1bce7a7bf2fa55677c8
parent50b06cbc10dbca1dfee89b529ba9b564cc4ea6f6
mesa: fix error codes for importing memory/semaphore FDs

This fixes the following piglit tests:
spec/ext_semaphore_fd/api-errors/import-semaphore-fd-bad-enum
spec/ext_memory_object_fd/api-errors/import-memory-fd-bad-enum

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