The change in revision 1.45 of r300_context.c makes Neverwinter Nights crash reproducably in some scenes. To reproduce: Create a new character and choose the monk class. When you customize the character, try to switch to another set of clothes, and it should crash. I've ran NWN with bugle; these are the last few GL calls NWN does before it crashes: trace.call: glDisable(GL_ALPHA_TEST) trace.call: glBindTexture(GL_TEXTURE_2D, 131) trace.call: glTexGeni(GL_S, GL_TEXTURE_GEN_MODE, GL_SPHERE_MAP) trace.call: glTexGeni(GL_T, GL_TEXTURE_GEN_MODE, GL_SPHERE_MAP) When I reversed the offending diff to make it work again, the following two calls showed up in the log (after the calls above): trace.call: glEnable(GL_TEXTURE_GEN_S) trace.call: glEnable(GL_TEXTURE_GEN_T) No clue whether it means anything, but the gloss and texcyl demos don't crash (I tried them cause I noticed they were also doing glTexGeni calls with the same parameters).
This was fixed by commit 1.43 of r300_vertexprog.c.
This issue isn't fixed. The exit() call in the following code block in r300_vertexprog.c causes the "crash": case OPCODE_ARL: case OPCODE_RCC: fprintf(stderr, "Dont know how to handle op %d yet\n", vpi->Opcode); exit(-1); where vpi->Opcode is OPCODE_ARL in my case. It's worth noting that mesa_vp->Base.NumInstructions is zero.
Created attachment 4598 [details] [review] Suggested patch NumInstructions was zero because of bug #5864, so the attached bugs works nicely.
Fixed by revision 1.44 of r300_vertexprog.c.
Mass version move, cvs -> git
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.