[Mesa-dev] [PATCH] r200: enable EXT_gpu_program_parameters

Jerome Glisse j.glisse at gmail.com
Sun Apr 17 10:08:15 PDT 2011


On Sun, Apr 17, 2011 at 7:59 AM, Nicolas Kaiser <nikai at nikai.net> wrote:
> * Nicolas Kaiser <nikai at nikai.net>:
>> * Marek Olšák <maraeo at gmail.com>:
>> > r200 does support ARB_vertex_program. The backend is in r200_vertprog.c. I
>> > think it has vertex shader 1.1 in D3D.
>> >
>> > The patch is wrong though. The extension should be listed in the
>> > ARB_vp_extension array, not card_extensions.
>>
>> Thanks! I copied it from dri/r300/r300_context.c, where it's listed
>> in the card_extensions as well.
>>
>> I'll fix the patch.
>
> Well, when I move it to the ARB_vp_extension array,
> it doesn't work:
>
> .src/tests/prog_parameter
> GL_RENDERER = Mesa DRI R200 (R200 514D)  TCL DRI2
> GL_VERSION = 1.3 Mesa 7.11-devel (git-9dacbe2)
>
> GL_EXT_gpu_program_parameters not available.
> Testing glProgramEnvParameter4fvARB (count = 256)...
> Testing glProgramLocalParameter4fvARB (count = 1024)...
> PASS!
>
> I guess I'm doing something wrong.
>
> Best regards,
> Nicolas Kaiser
>

You missing the point this extension is useless on r200, because r200
hardware doesn't the capabilities to use this extension, the test you
are using is just querying info not doing anythings usefull. Sure we
can report wrong informations but what's the point ?

Cheers,
Jerome


More information about the mesa-dev mailing list