May I push this? It makes glsl-max-varyings pass with r300g.
Marek
On Wed, Aug 25, 2010 at 5:27 AM, Marek Olšák wrote:
> ---
> src/mesa/state_tracker/st_extensions.c |3 +++
> 1 files changed, 3 insertions(+), 0 deletions(-)
>
> diff --git a/src/mesa/state_tracker/st_extensions.c
> b/src/m
Pushed, thanks.
Marek
2010/8/28 Mathias Fröhlich
>
> Hi,
>
> The attached patch against r300g moves the cast to an unsigned past the
> compare and clamp against 0.
> Without the patch negative values are wrapped to huge numbers instead of
> clamped to zero.
>
> Please apply.
>
> Mathias
>
> ___
Mostly we need this to remove a possible race on r300g, but I think
it'll make implementing buffers on r600g easier as well.
More explains in the patch.
Dave.
From b4b7c30d07008930e432c0d566da64e653431047 Mon Sep 17 00:00:00 2001
From: Dave Airlie
Date: Sat, 28 Aug 2010 18:59:32 +1000
Subject: [