Re: [Mesa-dev] [RFC] spec: MESA_program_binary

2017-02-21 Thread Timothy Arceri
On 22/02/17 06:11, Ian Romanick wrote: On 02/16/2017 04:33 PM, Timothy Arceri wrote: On 17/02/17 10:44, Ian Romanick wrote: On 02/15/2017 11:58 PM, Timothy Arceri wrote: On 16/02/17 17:55, Tapani Pälli wrote: On 02/16/2017 04:52 AM, Timothy Arceri wrote: In order add functionality to

Re: [Mesa-dev] [RFC] spec: MESA_program_binary

2017-02-21 Thread Ian Romanick
On 02/16/2017 04:33 PM, Timothy Arceri wrote: > On 17/02/17 10:44, Ian Romanick wrote: >> On 02/15/2017 11:58 PM, Timothy Arceri wrote: >>> On 16/02/17 17:55, Tapani Pälli wrote: On 02/16/2017 04:52 AM, Timothy Arceri wrote: > In order add functionality to ARB_get_program_binary we

Re: [Mesa-dev] [RFC] spec: MESA_program_binary

2017-02-17 Thread Nicolai Hähnle
On 17.02.2017 09:31, Ernst Sjöstrand wrote: Also, what if the user switches between say AMDGPU-PRO and RadeonSI? I'd expect radeonsi to use the single Mesa enum, while AMDGPU-PRO obviously uses an AMD-assigned enum. Cheers, Nicolai Regards //Ernst 2017-02-17 1:33 GMT+01:00 Timothy

Re: [Mesa-dev] [RFC] spec: MESA_program_binary

2017-02-17 Thread Ernst Sjöstrand
Also, what if the user switches between say AMDGPU-PRO and RadeonSI? Regards //Ernst 2017-02-17 1:33 GMT+01:00 Timothy Arceri : > > > On 17/02/17 10:44, Ian Romanick wrote: > >> On 02/15/2017 11:58 PM, Timothy Arceri wrote: >> >>> >>> >>> On 16/02/17 17:55, Tapani Pälli

Re: [Mesa-dev] [RFC] spec: MESA_program_binary

2017-02-16 Thread Timothy Arceri
On 17/02/17 10:44, Ian Romanick wrote: On 02/15/2017 11:58 PM, Timothy Arceri wrote: On 16/02/17 17:55, Tapani Pälli wrote: On 02/16/2017 04:52 AM, Timothy Arceri wrote: In order add functionality to ARB_get_program_binary we need binary format enums. I've understood that this is a

Re: [Mesa-dev] [RFC] spec: MESA_program_binary

2017-02-16 Thread Ian Romanick
On 02/15/2017 11:58 PM, Timothy Arceri wrote: > > > On 16/02/17 17:55, Tapani Pälli wrote: >> >> On 02/16/2017 04:52 AM, Timothy Arceri wrote: >>> In order add functionality to ARB_get_program_binary we need >>> binary format enums. >> >> I've understood that this is a driver internal

Re: [Mesa-dev] [RFC] spec: MESA_program_binary

2017-02-16 Thread Nicolai Hähnle
On 16.02.2017 09:21, Tapani Pälli wrote: On 02/16/2017 10:11 AM, Timothy Arceri wrote: On 16/02/17 18:58, Timothy Arceri wrote: On 16/02/17 17:55, Tapani Pälli wrote: On 02/16/2017 04:52 AM, Timothy Arceri wrote: In order add functionality to ARB_get_program_binary we need binary format

Re: [Mesa-dev] [RFC] spec: MESA_program_binary

2017-02-16 Thread Tapani Pälli
On 02/16/2017 10:11 AM, Timothy Arceri wrote: On 16/02/17 18:58, Timothy Arceri wrote: On 16/02/17 17:55, Tapani Pälli wrote: On 02/16/2017 04:52 AM, Timothy Arceri wrote: In order add functionality to ARB_get_program_binary we need binary format enums. I've understood that this is a

Re: [Mesa-dev] [RFC] spec: MESA_program_binary

2017-02-16 Thread Timothy Arceri
On 16/02/17 18:58, Timothy Arceri wrote: On 16/02/17 17:55, Tapani Pälli wrote: On 02/16/2017 04:52 AM, Timothy Arceri wrote: In order add functionality to ARB_get_program_binary we need binary format enums. I've understood that this is a driver internal enumeration. When application

Re: [Mesa-dev] [RFC] spec: MESA_program_binary

2017-02-15 Thread Timothy Arceri
On 16/02/17 17:55, Tapani Pälli wrote: On 02/16/2017 04:52 AM, Timothy Arceri wrote: In order add functionality to ARB_get_program_binary we need binary format enums. I've understood that this is a driver internal enumeration. When application gets the binary it also receives enum (integer

Re: [Mesa-dev] [RFC] spec: MESA_program_binary

2017-02-15 Thread Tapani Pälli
On 02/16/2017 04:52 AM, Timothy Arceri wrote: In order add functionality to ARB_get_program_binary we need binary format enums. I've understood that this is a driver internal enumeration. When application gets the binary it also receives enum (integer value) what format we gave. Then when

Re: [Mesa-dev] [RFC] spec: MESA_program_binary

2017-02-15 Thread Timothy Arceri
On 16/02/17 15:42, Edward O'Callaghan wrote: On 02/16/2017 01:52 PM, Timothy Arceri wrote: In order add functionality to ARB_get_program_binary we need binary format enums. --- Techland games such as Dead Island and Dying Light make use of GetProgramBinary(). My current guess is the Dead

Re: [Mesa-dev] [RFC] spec: MESA_program_binary

2017-02-15 Thread Edward O'Callaghan
On 02/16/2017 01:52 PM, Timothy Arceri wrote: > In order add functionality to ARB_get_program_binary we need > binary format enums. > --- > > Techland games such as Dead Island and Dying Light make use of > GetProgramBinary(). My current guess is the Dead Island crash >

[Mesa-dev] [RFC] spec: MESA_program_binary

2017-02-15 Thread Timothy Arceri
In order add functionality to ARB_get_program_binary we need binary format enums. --- Techland games such as Dead Island and Dying Light make use of GetProgramBinary(). My current guess is the Dead Island crash https://bugs.freedesktop.org/show_bug.cgi?id=85564 is caused due to buggy handling of