I've added indirect rendering support for GL_ARB_vertex_program and
GL_ARB_fragment_program to Xgl. I had make the gl_API.xml change in the
attached patch and regenerate new indirect dispatch files for the server
to have glGenPrograms send a correct reply. Other than that it seems to
be working fine.

-David
Index: gl_API.xml
===================================================================
RCS file: /cvs/mesa/Mesa/src/mesa/glapi/gl_API.xml,v
retrieving revision 1.54
diff -u -r1.54 gl_API.xml
--- gl_API.xml	1 Mar 2006 02:07:50 -0000	1.54
+++ gl_API.xml	10 Mar 2006 11:56:07 -0000
@@ -10447,7 +10447,7 @@
     <function name="GenProgramsNV" offset="582">
         <param name="n" type="GLsizei" counter="true"/>
         <param name="programs" type="GLuint *" output="true" count="n"/>
-        <glx vendorpriv="1295"/>
+        <glx vendorpriv="1295" always_array="true"/>
     </function>
 
     <!-- This isn't 100% correct.  Currently, the only valid value of pname

Reply via email to