Jerome,<br><br>Nicolas is actually right. There is absolutely nothing driver-specific about the extension. It's a pure API improvement and doesn't have <i>anything</i> to do with the hardware. There are no capabilities required, just ARB_vertex_program.<br>
<br><br>Nicolas,<br><br>Please test the attached patch. I have also enabled ARB_half_float_pixel and ARB/APPLE_vertex_array_object.<br><br><br>Marek<br><br><div class="gmail_quote">On Sun, Apr 17, 2011 at 7:08 PM, Jerome Glisse <span dir="ltr"><<a href="mailto:j.glisse@gmail.com">j.glisse@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div><div></div><div class="h5">On Sun, Apr 17, 2011 at 7:59 AM, Nicolas Kaiser <<a href="mailto:nikai@nikai.net">nikai@nikai.net</a>> wrote:<br>
> * Nicolas Kaiser <<a href="mailto:nikai@nikai.net">nikai@nikai.net</a>>:<br>
>> * Marek Olšák <<a href="mailto:maraeo@gmail.com">maraeo@gmail.com</a>>:<br>
>> > r200 does support ARB_vertex_program. The backend is in r200_vertprog.c. I<br>
>> > think it has vertex shader 1.1 in D3D.<br>
>> ><br>
>> > The patch is wrong though. The extension should be listed in the<br>
>> > ARB_vp_extension array, not card_extensions.<br>
>><br>
>> Thanks! I copied it from dri/r300/r300_context.c, where it's listed<br>
>> in the card_extensions as well.<br>
>><br>
>> I'll fix the patch.<br>
><br>
> Well, when I move it to the ARB_vp_extension array,<br>
> it doesn't work:<br>
><br>
> .src/tests/prog_parameter<br>
> GL_RENDERER = Mesa DRI R200 (R200 514D) TCL DRI2<br>
> GL_VERSION = 1.3 Mesa 7.11-devel (git-9dacbe2)<br>
><br>
> GL_EXT_gpu_program_parameters not available.<br>
> Testing glProgramEnvParameter4fvARB (count = 256)...<br>
> Testing glProgramLocalParameter4fvARB (count = 1024)...<br>
> PASS!<br>
><br>
> I guess I'm doing something wrong.<br>
><br>
> Best regards,<br>
> Nicolas Kaiser<br>
><br>
<br>
</div></div>You missing the point this extension is useless on r200, because r200<br>
hardware doesn't the capabilities to use this extension, the test you<br>
are using is just querying info not doing anythings usefull. Sure we<br>
can report wrong informations but what's the point ?<br>
<br>
Cheers,<br>
<font color="#888888">Jerome<br>
</font></blockquote></div><br>