Re: [Mesa-dev] [PATCH] gallium/u_threaded: fixes for MSVC

2017-06-05 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Mon, Jun 5, 2017 at 10:15 PM, Brian Paul wrote: > 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 f

[Mesa-dev] [PATCH] gallium/u_threaded: fixes for MSVC

2017-06-05 Thread Brian Paul
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. --- src/gallium/auxiliary/util/u_threaded_context.c | 16 +++