mesa: return INVALID_VALUE from ClientWaitSync if flags contains an unsupported flag
authorMatt Turner <mattst88@gmail.com>
Tue, 13 Nov 2012 21:26:11 +0000 (13:26 -0800)
committerMatt Turner <mattst88@gmail.com>
Thu, 15 Nov 2012 23:21:28 +0000 (15:21 -0800)
commit5b0012f5c27b05d3caa8081165dbaebddefc414f
tree474d5133e9df0b2d7e4a90bc8120a5e5884b541c
parentae1f09babb9c127d573050f4338b6f3d55cba377
mesa: return INVALID_VALUE from ClientWaitSync if flags contains an unsupported flag

Fixes gles3conform's sync_error_clientwaitsync_flags test.
Reviewed-by: Chad Versace <chad.versace@linux.intel.com>
Reviewed-by: Kenneth Graunke <kenneth@whitecape.org>
src/mesa/main/syncobj.c