On 03/07/2012 01:08 AM, Vic Lee wrote:
Hi Brian,
I created a smallest possible test case to reproduce the segfault, as
attached.
OK, I was assuming that you found this with an OpenGL program, not
with a custom direct-to-gallium program.
Please see file header on how I compile it. vs and fs both
needs to be checked to avoid the segfault.
Hmmm, I only needed to add the null vs check to prevent the segfault.
Are you sure about the fs check? We only use svga->curr.fs when
assigning to the generic_inputs var and we check for a null pointer there.
-Brian
_______________________________________________
mesa-dev mailing list
mesa-dev@lists.freedesktop.org
http://lists.freedesktop.org/mailman/listinfo/mesa-dev