Re: [Mesa-dev] [PATCH] radeonsi: fix discard-only fragment shaders (v2)

2016-01-22 Thread Marek Olšák
Reviewed-by: Marek Olšák Marek On Thu, Jan 21, 2016 at 4:06 AM, Nicolai Hähnle wrote: > From: Nicolai Hähnle > > When a fragment shader is used that has no outputs but does conditional > discard (KILL_IF), all fragments are killed without this patch. > > By comparing various register settings,

[Mesa-dev] [PATCH] radeonsi: fix discard-only fragment shaders (v2)

2016-01-20 Thread Nicolai Hähnle
From: Nicolai Hähnle When a fragment shader is used that has no outputs but does conditional discard (KILL_IF), all fragments are killed without this patch. By comparing various register settings, my conclusion is that the exec mask is either not properly forwarded to the DB by NULL exports or e