Re: [Mesa-dev] [PATCH] mesa: don't enable NV_fragment_program_option with swrast

2015-02-16 Thread Roland Scheidegger
Am 16.02.2015 um 18:59 schrieb Dieter Nützel: > Am 16.02.2015 18:13, schrieb Brian Paul: >> On 02/16/2015 08:11 AM, Roland Scheidegger wrote: >>> Am 16.02.2015 um 00:36 schrieb Matt Turner: On Sat, Feb 14, 2015 at 2:33 PM, Roland Scheidegger wrote: > Am 14.02.2015 um 21:12 schrieb Ke

Re: [Mesa-dev] [PATCH] mesa: don't enable NV_fragment_program_option with swrast

2015-02-16 Thread Matt Turner
On Mon, Feb 16, 2015 at 9:59 AM, Dieter Nützel wrote: > Sorry that I step in but what about GL_NV_vertex_program* in general? > There are several Mesa-demos (e.g. in tests) which do not work any longer. > > mesa-demos/tests> ./vptest1 > Sorry, this program requires GL_NV_vertex_program That sound

Re: [Mesa-dev] [PATCH] mesa: don't enable NV_fragment_program_option with swrast

2015-02-16 Thread Dieter Nützel
Am 16.02.2015 18:13, schrieb Brian Paul: On 02/16/2015 08:11 AM, Roland Scheidegger wrote: Am 16.02.2015 um 00:36 schrieb Matt Turner: On Sat, Feb 14, 2015 at 2:33 PM, Roland Scheidegger wrote: Am 14.02.2015 um 21:12 schrieb Kenneth Graunke: On Saturday, February 14, 2015 04:37:25 PM srol...@

Re: [Mesa-dev] [PATCH] mesa: don't enable NV_fragment_program_option with swrast

2015-02-16 Thread Brian Paul
On 02/16/2015 08:11 AM, Roland Scheidegger wrote: Am 16.02.2015 um 00:36 schrieb Matt Turner: On Sat, Feb 14, 2015 at 2:33 PM, Roland Scheidegger wrote: Am 14.02.2015 um 21:12 schrieb Kenneth Graunke: On Saturday, February 14, 2015 04:37:25 PM srol...@vmware.com wrote: From: Roland Scheidegg

Re: [Mesa-dev] [PATCH] mesa: don't enable NV_fragment_program_option with swrast

2015-02-16 Thread Roland Scheidegger
Am 16.02.2015 um 00:36 schrieb Matt Turner: > On Sat, Feb 14, 2015 at 2:33 PM, Roland Scheidegger > wrote: >> Am 14.02.2015 um 21:12 schrieb Kenneth Graunke: >>> On Saturday, February 14, 2015 04:37:25 PM srol...@vmware.com wrote: From: Roland Scheidegger Since dropping some NV_fr

Re: [Mesa-dev] [PATCH] mesa: don't enable NV_fragment_program_option with swrast

2015-02-15 Thread Matt Turner
On Sat, Feb 14, 2015 at 2:33 PM, Roland Scheidegger wrote: > Am 14.02.2015 um 21:12 schrieb Kenneth Graunke: >> On Saturday, February 14, 2015 04:37:25 PM srol...@vmware.com wrote: >>> From: Roland Scheidegger >>> >>> Since dropping some NV_fragment_program opcodes (commits >>> 868f95f1da74cf6dd7

Re: [Mesa-dev] [PATCH] mesa: don't enable NV_fragment_program_option with swrast

2015-02-14 Thread Roland Scheidegger
Am 14.02.2015 um 21:12 schrieb Kenneth Graunke: > On Saturday, February 14, 2015 04:37:25 PM srol...@vmware.com wrote: >> From: Roland Scheidegger >> >> Since dropping some NV_fragment_program opcodes (commits >> 868f95f1da74cf6dd7468cba1b56664aad585ccb, >> a3688d686f147f4252d19b298ae26d4ac72c2e0

Re: [Mesa-dev] [PATCH] mesa: don't enable NV_fragment_program_option with swrast

2015-02-14 Thread Kenneth Graunke
On Saturday, February 14, 2015 04:37:25 PM srol...@vmware.com wrote: > From: Roland Scheidegger > > Since dropping some NV_fragment_program opcodes (commits > 868f95f1da74cf6dd7468cba1b56664aad585ccb, > a3688d686f147f4252d19b298ae26d4ac72c2e08) > we can no longer parse all opcodes necessary for

Re: [Mesa-dev] [PATCH] mesa: don't enable NV_fragment_program_option with swrast

2015-02-14 Thread Roland Scheidegger
Actually I think you can forget the second part of the comment. It seems we still use some hacks internally to parse such shaders, even if they aren't officially supported (though I don't know if they also relied on the dropped opcodes). I guess though the NV_fragment_program_option in the context

[Mesa-dev] [PATCH] mesa: don't enable NV_fragment_program_option with swrast

2015-02-14 Thread sroland
From: Roland Scheidegger Since dropping some NV_fragment_program opcodes (commits 868f95f1da74cf6dd7468cba1b56664aad585ccb, a3688d686f147f4252d19b298ae26d4ac72c2e08) we can no longer parse all opcodes necessary for this extension, leading to bugs (https://bugs.freedesktop.org/show_bug.cgi?id=869