Re: [Mesa-dev] [RFT PATCH 2/2] nv20: enable ARB_texture_border_clamp support

2017-06-27 Thread Ian Romanick
On 06/27/2017 11:16 AM, Roland Scheidegger wrote: > Am 27.06.2017 um 20:10 schrieb Ian Romanick: >> On 06/27/2017 11:00 AM, Ilia Mirkin wrote: >>> On Tue, Jun 27, 2017 at 1:11 PM, Ian Romanick wrote: On 06/27/2017 02:59 AM, Timothy Arceri wrote: > Just curious. Can this extension be added

Re: [Mesa-dev] [RFT PATCH 2/2] nv20: enable ARB_texture_border_clamp support

2017-06-27 Thread Roland Scheidegger
Am 27.06.2017 um 20:10 schrieb Ian Romanick: > On 06/27/2017 11:00 AM, Ilia Mirkin wrote: >> On Tue, Jun 27, 2017 at 1:11 PM, Ian Romanick wrote: >>> On 06/27/2017 02:59 AM, Timothy Arceri wrote: Just curious. Can this extension be added to NV04 and NV10? As those are the only drivers th

Re: [Mesa-dev] [RFT PATCH 2/2] nv20: enable ARB_texture_border_clamp support

2017-06-27 Thread Ilia Mirkin
On Tue, Jun 27, 2017 at 2:10 PM, Ian Romanick wrote: > On 06/27/2017 11:00 AM, Ilia Mirkin wrote: >> On Tue, Jun 27, 2017 at 1:11 PM, Ian Romanick wrote: >>> On 06/27/2017 02:59 AM, Timothy Arceri wrote: Just curious. Can this extension be added to NV04 and NV10? As those are the only d

Re: [Mesa-dev] [RFT PATCH 2/2] nv20: enable ARB_texture_border_clamp support

2017-06-27 Thread Ian Romanick
On 06/27/2017 11:00 AM, Ilia Mirkin wrote: > On Tue, Jun 27, 2017 at 1:11 PM, Ian Romanick wrote: >> On 06/27/2017 02:59 AM, Timothy Arceri wrote: >>> Just curious. Can this extension be added to NV04 and NV10? As those are >>> the only drivers that don't currently support it. >>> >>> I have cards

Re: [Mesa-dev] [RFT PATCH 2/2] nv20: enable ARB_texture_border_clamp support

2017-06-27 Thread Ilia Mirkin
On Tue, Jun 27, 2017 at 1:11 PM, Ian Romanick wrote: > On 06/27/2017 02:59 AM, Timothy Arceri wrote: >> Just curious. Can this extension be added to NV04 and NV10? As those are >> the only drivers that don't currently support it. >> >> I have cards I could test those with, but don't have an NV20.

Re: [Mesa-dev] [RFT PATCH 2/2] nv20: enable ARB_texture_border_clamp support

2017-06-27 Thread Ian Romanick
On 06/27/2017 02:59 AM, Timothy Arceri wrote: > Just curious. Can this extension be added to NV04 and NV10? As those are > the only drivers that don't currently support it. > > I have cards I could test those with, but don't have an NV20. I just sent out an updated series that I tested on NV20.

Re: [Mesa-dev] [RFT PATCH 2/2] nv20: enable ARB_texture_border_clamp support

2017-06-27 Thread Roland Scheidegger
Am 27.06.2017 um 15:11 schrieb Ilia Mirkin: > On Tue, Jun 27, 2017 at 9:07 AM, Roland Scheidegger > wrote: >> Am 27.06.2017 um 15:01 schrieb Roland Scheidegger: >>> These chips can't do border color? I wonder how they got away with that >>> with d3d since afaik it isn't optional. >> Err, I should

Re: [Mesa-dev] [RFT PATCH 2/2] nv20: enable ARB_texture_border_clamp support

2017-06-27 Thread Roland Scheidegger
These chips can't do border color? I wonder how they got away with that with d3d since afaik it isn't optional. So what happens if you use these border wrap modes? You just get black border? I suppose another question is if you couldn't announce support for it nevertheless. Without a border color,

Re: [Mesa-dev] [RFT PATCH 2/2] nv20: enable ARB_texture_border_clamp support

2017-06-27 Thread Ilia Mirkin
On Tue, Jun 27, 2017 at 9:07 AM, Roland Scheidegger wrote: > Am 27.06.2017 um 15:01 schrieb Roland Scheidegger: >> These chips can't do border color? I wonder how they got away with that >> with d3d since afaik it isn't optional. > Err, I should have known better, EVERYTHING is optional with d3d9

Re: [Mesa-dev] [RFT PATCH 2/2] nv20: enable ARB_texture_border_clamp support

2017-06-27 Thread Roland Scheidegger
Am 27.06.2017 um 15:01 schrieb Roland Scheidegger: > These chips can't do border color? I wonder how they got away with that > with d3d since afaik it isn't optional. Err, I should have known better, EVERYTHING is optional with d3d9 (albeit it doesn't mean apps were actually prepared for hw not sup

Re: [Mesa-dev] [RFT PATCH 2/2] nv20: enable ARB_texture_border_clamp support

2017-06-27 Thread Ilia Mirkin
This functionality is only available on NV20, NV25, and NV28 (i.e. all the NV2x boards). These are all AGP-only (discounting the NV2A inside Xbox), and I don't have any AGP systems. The way I tested it, through an emulation layer inside the NV3x hardware which lets it present the NV25's 3d class, i

Re: [Mesa-dev] [RFT PATCH 2/2] nv20: enable ARB_texture_border_clamp support

2017-06-27 Thread Timothy Arceri
Just curious. Can this extension be added to NV04 and NV10? As those are the only drivers that don't currently support it. I have cards I could test those with, but don't have an NV20. On 09/09/16 10:56, Ilia Mirkin wrote: Signed-off-by: Ilia Mirkin --- This was tested on a NV25-on-NV34 si

Re: [Mesa-dev] [RFT PATCH 2/2] nv20: enable ARB_texture_border_clamp support

2016-09-08 Thread Francisco Jerez
Ilia Mirkin writes: > Signed-off-by: Ilia Mirkin > --- > > This was tested on a NV25-on-NV34 situation. Should be tested on real hardware > since my test environment relies on accurate emulation in the hw. > Looks okay to me, as long as you get some testing coverage on real hardware patch is: A

[Mesa-dev] [RFT PATCH 2/2] nv20: enable ARB_texture_border_clamp support

2016-09-08 Thread Ilia Mirkin
Signed-off-by: Ilia Mirkin --- This was tested on a NV25-on-NV34 situation. Should be tested on real hardware since my test environment relies on accurate emulation in the hw. src/mesa/drivers/dri/nouveau/nv20_context.c | 1 + src/mesa/drivers/dri/nouveau/nv20_state_tex.c | 29 ++