Re: [Mesa-dev] [PATCH] radv: emit correct last export when Z/stencil export is enabled

2016-11-07 Thread Bas Nieuwenhuizen
Reviewed-by: Bas Nieuwenhuizen On Tue, Nov 8, 2016 at 7:24 AM, Dave Airlie wrote: > From: Dave Airlie > > I was getting a random GPU hang in the renderpass simple tests, > it turns out sometimes radv emitted the wrong thing "last". > > This fixes the logic to emit Z/stencil last if they occur,

[Mesa-dev] [PATCH] radv: emit correct last export when Z/stencil export is enabled

2016-11-07 Thread Dave Airlie
From: Dave Airlie I was getting a random GPU hang in the renderpass simple tests, it turns out sometimes radv emitted the wrong thing "last". This fixes the logic to emit Z/stencil last if they occur, and not mark a color output as last. Also this relies on the Z/STENCIL being the first two frag