[Mesa-dev] [PATCH] mesa: Use MIN instead of CLAMP for unsigned source data
Brian Paul
brianp at vmware.com
Mon Oct 22 14:57:17 PDT 2012
On 10/22/2012 03:26 PM, Ian Romanick wrote:
> From: Ian Romanick<ian.d.romanick at intel.com>
>
> This silences a zillion GCC warnings like:
>
> ../../../src/mesa/main/pack.c: In function '_mesa_pack_rgba_span_from_uints':
> ../../../src/mesa/main/pack.c:560:13: warning: comparison of unsigned expression< 0 is always false [-Wtype-limits]
>
> Signed-off-by: Ian Romanick<ian.d.romanick at intel.com>
> ---
> src/mesa/main/pack.c | 216 +++++++++++++++++++++++++--------------------------
> 1 file changed, 108 insertions(+), 108 deletions(-)
>
Reviewed-by: Brian Paul <brianp at vmware.com>
More information about the mesa-dev
mailing list