Re: [Mesa-dev] [PATCH] mesa: fix empty program log length

2016-11-17 Thread Nicolai Hähnle
On 17.11.2016 08:16, Tapani Pälli wrote: In case we have empty log (""), we should return 0. This fixes Khronos WebGL conformance test 'program-infolog'. From OpenGL ES 3.1 (and OpenGL 4.5 Core) spec: "If pname is INFO_LOG_LENGTH , the length of the info log, including a null terminator,

[Mesa-dev] [PATCH] mesa: fix empty program log length

2016-11-16 Thread Tapani Pälli
In case we have empty log (""), we should return 0. This fixes Khronos WebGL conformance test 'program-infolog'. From OpenGL ES 3.1 (and OpenGL 4.5 Core) spec: "If pname is INFO_LOG_LENGTH , the length of the info log, including a null terminator, is returned. If there is no info log, zero

Re: [Mesa-dev] [PATCH] mesa: fix empty program log length

2016-11-16 Thread Ian Romanick
On 08/17/2016 01:18 AM, Tapani Pälli wrote: > In case we have empty log (""), we should return 0. This fixes > Khronos WebGL conformance test 'program-infolog'. > > From OpenGL ES 3.1 (and OpenGL 4.5 Core) spec: >"If pname is INFO_LOG_LENGTH , the length of the info log, including > a null

Re: [Mesa-dev] [PATCH] mesa: fix empty program log length

2016-08-18 Thread Tapani Pälli
On 08/18/2016 03:11 PM, Iago Toral wrote: On Wed, 2016-08-17 at 11:18 +0300, Tapani Pälli wrote: In case we have empty log (""), we should return 0. This fixes Khronos WebGL conformance test 'program-infolog'. From OpenGL ES 3.1 (and OpenGL 4.5 Core) spec: "If pname is INFO_LOG_LENGTH , th

Re: [Mesa-dev] [PATCH] mesa: fix empty program log length

2016-08-18 Thread Iago Toral
On Wed, 2016-08-17 at 11:18 +0300, Tapani Pälli wrote: > In case we have empty log (""), we should return 0. This fixes > Khronos WebGL conformance test 'program-infolog'. > > From OpenGL ES 3.1 (and OpenGL 4.5 Core) spec: >    "If pname is INFO_LOG_LENGTH , the length of the info log, > including

[Mesa-dev] [PATCH] mesa: fix empty program log length

2016-08-17 Thread Tapani Pälli
In case we have empty log (""), we should return 0. This fixes Khronos WebGL conformance test 'program-infolog'. From OpenGL ES 3.1 (and OpenGL 4.5 Core) spec: "If pname is INFO_LOG_LENGTH , the length of the info log, including a null terminator, is returned. If there is no info log, zero