I've found the problem. It was the GET_VIEWPORT_MAT() which was defined to 0 but when there is no hw viewport (as in our case) this is used to get the viewport matrix. Strangely the viewport matrix is stored in a context variable named hw_viewport. Hence my confusion and previous decision to not define it...
Unfortunately now it simply locks. I'm going to disable the register programming for the time being to be able to hunt the problems down more easily. Regards, José Fonseca On 2002.03.01 09:24 José Fonseca wrote: > On 2002.03.01 07:25 Leif Delgass wrote: >> I've commited the last major chunk of the Mesa 4 merge, mainly in >> mach64_tris.c. The branch should now compile and run, but it needs >> debugging, as glxgears is still segfaulting. >> > > That's great Leif! > > I'm working on it. It seems that the problem is on the vertex buffers > setup: > > #0 emit_wg (ctx=0x8050440, start=0, end=216, dest=0x40c5c020, stride=1) > at ../../../../../../extras/Mesa/src/tnl_dd/t_dd_vbtmp.h:331 > #1 0x40493958 in mach64BuildVertices (ctx=0x8050440, start=0, > count=216, newinputs=16777218) at mach64_vb.c:365 > #2 0x404593b9 in run_render (ctx=0x8050440, stage=0x8105940) > at t_vb_render.c:307 > #3 0x40417a67 in _tnl_run_pipeline (ctx=0x8050440) at t_pipeline.c:155 > #4 0x40416129 in _tnl_run_cassette (ctx=0x8050440, IM=0x810c140) > at t_imm_exec.c:372 > #5 0x40410ac2 in execute_compiled_cassette (ctx=0x8050440, > data=0x8113d9c) > at t_imm_dlist.c:376 > #6 0x4035ae69 in execute_list (ctx=0x8050440, list=1) at dlist.c:4000 > #7 0x4035c9c6 in _mesa_CallList (list=1) at dlist.c:4836 > > >> ... >> >> -- >> Leif Delgass >> http://www.retinalburn.net >> _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com _______________________________________________ Dri-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/dri-devel