Re: [Mesa-dev] [PATCH 11/15] radeonsi: don't snoop currently-bound GS shader when compiling ES

2014-09-22 Thread Michel Dänzer
On 20.09.2014 05:17, Marek Olšák wrote: + assert(0 && "unreachable"); You can use: assert(!"unreachable"); Either way though, the series is Reviewed-by: Michel Dänzer -- Earthling Michel Dänzer| http://www.amd.com Libre software enthusiast

[Mesa-dev] [PATCH 11/15] radeonsi: don't snoop currently-bound GS shader when compiling ES

2014-09-19 Thread Marek Olšák
From: Marek Olšák Instead, pass the layout of GS inputs in memory to the ES using the shader key. Only 64 bits are needed to represent the layout in the key. Mixing and matching different VS and GS shaders should now always work. --- src/gallium/drivers/radeonsi/si_shader.c | 107 ++