[Mesa-dev] [PATCH 1/2] mesa/vbo: Plumb ctx through to the conv_i(10|2)_to_norm_float functions.
Brian Paul
brian.e.paul at gmail.com
Sun Nov 25 09:29:43 PST 2012
On Wed, Nov 21, 2012 at 9:44 PM, Kenneth Graunke <kenneth at whitecape.org> wrote:
> The rules for converting these values actually depend on the current
> context API and version. The next patch will implement those changes.
> ---
> src/mesa/vbo/vbo_attrib_tmp.h | 118 +++++++++++++++++++++---------------------
> 1 file changed, 59 insertions(+), 59 deletions(-)
>
> diff --git a/src/mesa/vbo/vbo_attrib_tmp.h b/src/mesa/vbo/vbo_attrib_tmp.h
> index 077ca31..7ebc94e0 100644
> --- a/src/mesa/vbo/vbo_attrib_tmp.h
> +++ b/src/mesa/vbo/vbo_attrib_tmp.h
> @@ -113,14 +113,14 @@ static inline float conv_i2_to_i(int i2)
> return (float)val.x;
> }
>
> -static inline float conv_i10_to_norm_float(int i10)
> +static inline float conv_i10_to_norm_float(struct gl_context *ctx, int i10)
const qualifier?
-Brian
More information about the mesa-dev
mailing list