Re: [Mesa-dev] [PATCH 1/2] softpipe: implement some support for multiple viewports

2015-12-11 Thread Roland Scheidegger
I think it actually works like this: llvmpipe has a single vertex layout, which it tells draw about, which will then emit the vertices in this format. However, softpipe will always tell draw to emit the vertices as-is (via its first layout). Its second layout has draw written all over it but draw d

Re: [Mesa-dev] [PATCH 1/2] softpipe: implement some support for multiple viewports

2015-12-11 Thread Roland Scheidegger
Hmm actually there were some piglit regressions. I don't mind the ones from the arb_fragment_layer_viewport group from skip to pass (up to today they failed in llvmpipe too and we don't have a cap bit for this functionality separately). However, this broke some more basic stuff like vs point size o

Re: [Mesa-dev] [PATCH 1/2] softpipe: implement some support for multiple viewports

2015-12-11 Thread Roland Scheidegger
Pushed, thanks! Roland Am 11.12.2015 um 12:43 schrieb Edward O'Callaghan: > Mostly related to making sure the rasterizer can correctly > pick out the correct scissor box for the current viewport. > > Signed-off-by: Edward O'Callaghan > --- > src/gallium/drivers/softpipe/sp_context.h |

[Mesa-dev] [PATCH 1/2] softpipe: implement some support for multiple viewports

2015-12-11 Thread Edward O'Callaghan
Mostly related to making sure the rasterizer can correctly pick out the correct scissor box for the current viewport. Signed-off-by: Edward O'Callaghan --- src/gallium/drivers/softpipe/sp_context.h | 9 ++- src/gallium/drivers/softpipe/sp_quad.h| 1 + src/gallium/drivers/so