Re: [Mesa-dev] [PATCH] mesa: Clamp negative values in glGetUniformuiv

2016-12-10 Thread Kai Wasserbäch
Nicolai Hähnle wrote on 10.12.2016 19:12: > On 10.12.2016 18:19, Kai Wasserbäch wrote: >> Nicolai Hähnle wrote on 10.12.2016 14:54: >>> From: Nicolai Hähnle >>> >>> Section 2.2.2 (Data Conversions For State Query Commands) of the OpenGL 4.5 >>> (Compatibility Profile) spec says: >>> >>> "If a

Re: [Mesa-dev] [PATCH] mesa: Clamp negative values in glGetUniformuiv

2016-12-10 Thread Nicolai Hähnle
On 10.12.2016 18:19, Kai Wasserbäch wrote: Nicolai Hähnle wrote on 10.12.2016 14:54: From: Nicolai Hähnle Section 2.2.2 (Data Conversions For State Query Commands) of the OpenGL 4.5 (Compatibility Profile) spec says: "If a value is so large in magnitude that it cannot be represented by th

Re: [Mesa-dev] [PATCH] mesa: Clamp negative values in glGetUniformuiv

2016-12-10 Thread Kai Wasserbäch
Nicolai Hähnle wrote on 10.12.2016 14:54: > From: Nicolai Hähnle > > Section 2.2.2 (Data Conversions For State Query Commands) of the OpenGL 4.5 > (Compatibility Profile) spec says: > > "If a value is so large in magnitude that it cannot be represented by the > returned data type, then

[Mesa-dev] [PATCH] mesa: Clamp negative values in glGetUniformuiv

2016-12-10 Thread Nicolai Hähnle
From: Nicolai Hähnle Section 2.2.2 (Data Conversions For State Query Commands) of the OpenGL 4.5 (Compatibility Profile) spec says: "If a value is so large in magnitude that it cannot be represented by the returned data type, then the nearest value representable using the requested