Re: [Mesa-dev] [PATCH] radeonsi: use hardware scissors correctly

2014-01-14 Thread Alex Deucher
On Tue, Jan 14, 2014 at 9:16 AM, Marek Olšák wrote: > From: Marek Olšák > > Use the WINDOW and VPORT scissors for the framebuffer and scissor test, > respectively. The other two scissors are disabled (they cover the max fb > size). > > We actually have 16 VPORT scissors, which will map well to A

[Mesa-dev] [PATCH] radeonsi: use hardware scissors correctly

2014-01-14 Thread Marek Olšák
From: Marek Olšák Use the WINDOW and VPORT scissors for the framebuffer and scissor test, respectively. The other two scissors are disabled (they cover the max fb size). We actually have 16 VPORT scissors, which will map well to ARB_viewport_array. Also, we don't need to write SC_WINDOW_OFFSET