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

Nicolas Kaiser nikai at nikai.net
Sun Apr 17 04:59:49 PDT 2011


* 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


More information about the mesa-dev mailing list