On 15/03/06, Graeme Christie <[EMAIL PROTECTED]> wrote:
> It appears that in the latest update to
> /Mesa/src/mesa/shader/slang/slang_link.h, a new constant
> SLANG_SHADER_MAX was introduced, however it doesn't appear to have been
> defined.
> For example the code around line 42:
>
>
> --- slang_link.h        2006/02/27 15:45:38     1.3
>
> +++ slang_link.h        2006/03/14 11:23:16     1.4
>
> @@ -42,7 +42,7 @@
>
>  {
>
>         slang_export_data_quant *quant;
>
>         char *name;
>
> -       GLuint address[SLANG_UNIFORM_BINDING_MAX];
>
> +       GLuint address[SLANG_SHADER_MAX];
>
>  } slang_uniform_binding;
>
>
> The user commiting this change to cvs appears to be "michal". There are
> probably alot of people currently checking this code out, as the cvs
> code is being used for a popular (3rd party) Gentoo ebuild of XGL. If
> this could be fixed and comitted to CVS it would probably avoid alot of
> uneccessary  headaches for the  bleeding edge Gentoo community, as well
> as alot of uneccessary traffic on this list for the developers.
>
> Regards,
>
> Graeme
>

Oh, sorry for the mess. I got conflicts during cvs commit and resolved
it in a wrong way.

The code:

enum
{
        SLANG_UNIFORM_BINDING_VERTEX,
        SLANG_UNIFORM_BINDING_FRAGMENT,
        SLANG_UNIFORM_BINDING_MAX
};

should be replaced with:

enum
{
        SLANG_SHADER_VERTEX,
        SLANG_SHADER_FRAGMENT,
        SLANG_SHADER_MAX
};

--
Pozdrawiam,
Michal Krol


-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0944&bid$1720&dat1642
_______________________________________________
Mesa3d-dev mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev

Reply via email to