Re: [Mesa-dev] [PATCH] nv50, nvc0: Report correct caps for pixel center integer

2015-01-20 Thread Tiziano Bacocco
I've done some tests, after being confirmed that the 0.5 subtraction done in gallium nine is correct, I've tried to set raster half_pixel_center to 1 , and this way , with the 0.5 subtraction is fine like it is on radeon With half_pixel_center set to 0 instead the default behavior on shaders seems

Re: [Mesa-dev] [PATCH] nv50, nvc0: Report correct caps for pixel center integer

2015-01-19 Thread Ilia Mirkin
Nope. But feel free to do a piglit run to prove/disprove. The fragcoord origin tests should start failing with your patch. On Jan 19, 2015 3:41 PM, "Tiziano Bacocco" wrote: > Could it be that it affects also fragcoord? because also on rnndb it says > that > > 2015-01-20 0:17 GMT+01:00 Ilia Mirkin

Re: [Mesa-dev] [PATCH] nv50, nvc0: Report correct caps for pixel center integer

2015-01-19 Thread Tiziano Bacocco
Could it be that it affects also fragcoord? because also on rnndb it says that 2015-01-20 0:17 GMT+01:00 Ilia Mirkin : > Oops, dropped cc. > On Jan 19, 2015 3:15 PM, "Ilia Mirkin" wrote: > >> Nope, that's for something else. This has to do with whether gl fragcoord >> is at the integer or half i

Re: [Mesa-dev] [PATCH] nv50, nvc0: Report correct caps for pixel center integer

2015-01-19 Thread Ilia Mirkin
Oops, dropped cc. On Jan 19, 2015 3:15 PM, "Ilia Mirkin" wrote: > Nope, that's for something else. This has to do with whether gl fragcoord > is at the integer or half integer coord. The other is a rasterizer setting. > On Jan 19, 2015 3:06 PM, "Tiziano Bacocco" wrote: > >> On the commit >> http

[Mesa-dev] [PATCH] nv50, nvc0: Report correct caps for pixel center integer

2015-01-19 Thread Tiziano Bacocco
On the commit http://cgit.freedesktop.org/mesa/mesa/commit/?id=aafd13027a38d5a2ab5d80019b282b8233c15a8a , the part where the supported caps are added was missing nv50,nvc0: Report correct caps for pixel center integer Signed-off-by: Tiziano Bacocco diff --git a/src/gallium/drivers/nouve