Re: [Mesa-dev] [PATCH] mesa: Clamp GetUniformuiv values to be >= 0.

2017-02-17 Thread Nicolai Hähnle
On 16.02.2017 20:24, Antía Puentes wrote: On lun, 2016-12-12 at 10:43 +0100, Nicolai Hähnle wrote: On 12.12.2016 00:25, Kenneth Graunke wrote: Section 2.2.2 (Data Conversions For State Query Commands) of the OpenGL 4.5 October 24th 2016 specification says: "If a command returning unsigned

Re: [Mesa-dev] [PATCH] mesa: Clamp GetUniformuiv values to be >= 0.

2017-02-16 Thread Antía Puentes
On lun, 2016-12-12 at 10:43 +0100, Nicolai Hähnle wrote: > On 12.12.2016 00:25, Kenneth Graunke wrote: > > > > Section 2.2.2 (Data Conversions For State Query Commands) of the > > OpenGL 4.5 October 24th 2016 specification says: > > > > "If a command returning unsigned integer data is called,

Re: [Mesa-dev] [PATCH] mesa: Clamp GetUniformuiv values to be >= 0.

2016-12-12 Thread Nicolai Hähnle
On 12.12.2016 00:25, Kenneth Graunke wrote: Section 2.2.2 (Data Conversions For State Query Commands) of the OpenGL 4.5 October 24th 2016 specification says: "If a command returning unsigned integer data is called, such as GetSamplerParameterIuiv, negative values are clamped to zero." Fixes

[Mesa-dev] [PATCH] mesa: Clamp GetUniformuiv values to be >= 0.

2016-12-11 Thread Kenneth Graunke
Section 2.2.2 (Data Conversions For State Query Commands) of the OpenGL 4.5 October 24th 2016 specification says: "If a command returning unsigned integer data is called, such as GetSamplerParameterIuiv, negative values are clamped to zero." Fixes GL44-CTS.gpu_shader_fp64.state_query.