[Mesa-dev] GL_MAX_PROGRAM_NATIVE_INSTRUCTIONS_ARB on r300g

Marek Olšák maraeo at gmail.com
Fri Apr 22 07:46:46 PDT 2011


That page seems to lie.

The R500 limits are:
- 1024 vertex shader instructions
- 512 fragment shader instructions

You should get these values from 'glxinfo -l'.

Some of the shader model 3.0 requirements are:
- minimum of 512 instructions must be supported in both vertex and fragment
shaders (met)
- GL_ARB_shader_texture_lod (not met)

The latter appears to be the culprit.

Marek

On Fri, Apr 22, 2011 at 4:05 PM, Sven Arvidsson <sa at whiz.se> wrote:

> Hi,
>
> I have been trying to figure out why Wine didn't enable PS/VS 3.0 on my
> card, an X1950 Pro. It seems this depends on how many native
> instructions are available for ARB_FRAGMENT_PROGRAM.
>
> r300g reports 512, but according to
> http://opengl.demoscene.fr/reports/ATI Radeon X1950 Pro.htm this card
> should support 1024.
>
> If the information listed in GLinfo isn't wrong, is this a limitation in
> r300g, or is it possible that it doesn't take full advantage of the
> cards capabilities?
>
> (I guess it's also possible that I have completely misunderstood either
> Wine or something else of course!)
>
> --
> Cheers,
> Sven Arvidsson
> http://www.whiz.se
> PGP Key ID 760BDD22
>
>
> _______________________________________________
> mesa-dev mailing list
> mesa-dev at lists.freedesktop.org
> http://lists.freedesktop.org/mailman/listinfo/mesa-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/mesa-dev/attachments/20110422/a66e5f2c/attachment.htm>


More information about the mesa-dev mailing list