gallium/u_threaded: fixes for MSVC
authorBrian Paul <brianp@vmware.com>
Mon, 5 Jun 2017 20:13:14 +0000 (14:13 -0600)
committerBrian Paul <brianp@vmware.com>
Mon, 5 Jun 2017 21:06:15 +0000 (15:06 -0600)
commitaf4017665be4950b9098f62eee18761bd5010be3
tree9a7a2237e4a564065c0a4aa75231f5a5a25a684d
parentd8212f847a4c63a2e3b6c8b1323340d26e0aff21
gallium/u_threaded: fixes for MSVC

Replace some static assertions with runtime assertions.  The static
asserts don't work/fail on MSVC, despite the offsets being multiples
of 16 (checked with softpipe).

Use correct parameter types for a few gallium context functions.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/auxiliary/util/u_threaded_context.c