Chris Rankin wrote:
--- Brian Paul <[EMAIL PROTECTED]> wrote:
If the problem is deeper, I'll need a stack trace at least. Or
someone with an r200 card will have to reproduce the problem and look
into it.
Hmm, a large anvil has just dropped on my head... ;-).
Anyway, a slightly more precise description of what's happening is that wine is
calling:
GetProgramivARB(VERTEX_PROGRAM_ARB PROGRAM_UNDER_NATIVE_LIMITS_ARB) (in
mesa/shader/arbprogram.c):
-> r200IsProgramNative() -> r200_translate_vertex_program() -> BANG.
I'm trying to find where the Parameters pointer is initialised.
That normally happens when the program string is parsed/compiled.
It may be that the GL_PROGRAM_UNDER_NATIVE_LIMITS_ARB query is
happening before glProgramStringARB() has been called.
Try the attached patch.
-Brian
? depend
? patch
Index: r200_vertprog.c
===================================================================
RCS file: /cvs/mesa/Mesa/src/mesa/drivers/dri/r200/r200_vertprog.c,v
retrieving revision 1.7
diff -c -r1.7 r200_vertprog.c
*** r200_vertprog.c 24 Aug 2006 15:57:12 -0000 1.7
--- r200_vertprog.c 24 Aug 2006 21:14:35 -0000
***************
*** 401,406 ****
--- 401,409 ----
vp->native = GL_FALSE;
+ if (!mesa_vp->Base.String)
+ return GL_FALSE;
+
if ((mesa_vp->Base.InputsRead &
~(VERT_BIT_POS | VERT_BIT_NORMAL | VERT_BIT_COLOR0 | VERT_BIT_COLOR1 |
VERT_BIT_FOG | VERT_BIT_TEX0 | VERT_BIT_TEX1 | VERT_BIT_TEX2 |
-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mesa3d-dev mailing list
Mesa3d-dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mesa3d-dev