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

Nicolas Kaiser nikai at nikai.net
Sun Apr 17 01:28:46 PDT 2011


* 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.

> On Sun, Apr 17, 2011 at 4:57 AM, Jerome Glisse <j.glisse at gmail.com> wrote:
> > R200 hw doesn't support shader program (well what i wouldn't call what
> > r200 has a shader).

This is one of two extensions that I noticed are enabled in both the
Matrox mga driver, as well as the r600g driver, but not in r200.

The other one is APPLE_vertex_array_object. I've enabled it on r200
for testing, the demo works nicely.

./src/demos/vao_demo
GL_RENDERER = Mesa DRI R200 (R200 514D)  TCL DRI2
GL_VERSION = 1.3 Mesa 7.11-devel (git-4ee40c3)


Best regards,
Nicolas Kaiser


More information about the mesa-dev mailing list