[Mesa-dev] [Bug 60518] glDrawElements segfault when compiled into display list

2016-06-07 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60518 Sergej Forat changed: What|Removed |Added Status|NEW |RESOLVED Resolution|---

[Mesa-dev] [Bug 60518] glDrawElements segfault when compiled into display list

2013-05-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60518 --- Comment #10 from cor...@gmx.net --- (In reply to comment #9) > Jose, I think it would be more symmetric with the peer > setup_ff_generate_mipmap() function if we just enabled the vertex arrays > when we create the vertex array object. So, how

[Mesa-dev] [Bug 60518] glDrawElements segfault when compiled into display list

2013-05-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60518 --- Comment #9 from Brian Paul --- Jose, I think it would be more symmetric with the peer setup_ff_generate_mipmap() function if we just enabled the vertex arrays when we create the vertex array object. So, how about this patch: diff --git a/sr

[Mesa-dev] [Bug 60518] glDrawElements segfault when compiled into display list

2013-05-31 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60518 --- Comment #8 from cor...@gmx.net --- (In reply to comment #7) > I suspect the problem are these lines in setup_glsl_generate_mipmap(): > >_mesa_BindAttribLocation(mipmap->ShaderProg, 0, "position"); >_mesa_BindAttribLocation(mipmap->Sha

[Mesa-dev] [Bug 60518] glDrawElements segfault when compiled into display list

2013-05-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60518 --- Comment #7 from José Fonseca --- I suspect the problem are these lines in setup_glsl_generate_mipmap(): _mesa_BindAttribLocation(mipmap->ShaderProg, 0, "position"); _mesa_BindAttribLocation(mipmap->ShaderProg, 1, "texcoords"); _mesa

[Mesa-dev] [Bug 60518] glDrawElements segfault when compiled into display list

2013-05-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60518 --- Comment #6 from José Fonseca --- Sounds like the glGenerateMipmap implementation (likely Meta module) is clobbering the GL_VERTEX_ATTRIB_ARRAY_ENABLED* state. > The two calls to glVertexAttribPointer are not done by the application btw. > I

[Mesa-dev] [Bug 60518] glDrawElements segfault when compiled into display list

2013-05-30 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60518 --- Comment #5 from cor...@gmx.net --- (In reply to comment #4) > The link to the trace doesn't work. Can you attach the trace to this bug > report? > > Which Mesa driver are you using? (II) intel(0): [DRI2] DRI driver: i965 OpenGL info (two m

[Mesa-dev] [Bug 60518] glDrawElements segfault when compiled into display list

2013-05-29 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60518 --- Comment #4 from Brian Paul --- The link to the trace doesn't work. Can you attach the trace to this bug report? Which Mesa driver are you using? -- You are receiving this mail because: You are the assignee for the bug. ___

[Mesa-dev] [Bug 60518] glDrawElements segfault when compiled into display list

2013-05-28 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60518 --- Comment #3 from cor...@gmx.net --- I've had another look at the trace created with apitrace. And it looks like the issue is caused by glGenerateMipmap(GL_TEXTURE_2D). It seems to use the first and second vertex attribute array, but doesn't dis

[Mesa-dev] [Bug 60518] glDrawElements segfault when compiled into display list

2013-05-22 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60518 --- Comment #2 from cor...@gmx.net --- A workaround for the segfault is to explicitly disable vertex attribute arrays: GLint n = 0; glGetIntegerv(GL_MAX_VERTEX_ATTRIBS, &n); for (GLint i = 0; i < n; ++i) glDisableVertexAttribArray(i); Which i

[Mesa-dev] [Bug 60518] glDrawElements segfault when compiled into display list

2013-02-08 Thread bugzilla-daemon
https://bugs.freedesktop.org/show_bug.cgi?id=60518 --- Comment #1 from cor...@gmx.net --- Apitrace download link (attaching failed due to size): http://www.gamefront.com/files/22931297/vdrift.trace.gz -- You are receiving this mail because: You are the assignee for the bug.