mesa/src
Roland Scheidegger 94f9ea03a1 draw: fix crashes with out-of-bounds indices
The passthrough pipeline needs to check index values (which might be passed
through) as they can be invalid (which causes crashes and various assertion
failures if the clip code runs). Obviously, rendering won't be well-defined,
but those bogus indices might come directly from apps.
There were already debug printfs which reported the out-of-bounds indices but
we really ought to not crash.
While checking at that point doesn't seem like the most efficient solution,
it seems there isn't really another appropriate function to do it.

Reviewed-by: Brian Paul <brianp@vmware.com>
Reviewed-by: José Fonseca <jfonseca@vmware.com>
2012-11-15 17:37:06 +00:00
..
egl wayland: Destroy frame callback when destroying surface 2012-11-07 16:13:03 -05:00
gallium draw: fix crashes with out-of-bounds indices 2012-11-15 17:37:06 +00:00
gbm gbm: Use the kms dumb ioctls for cursor instead of libkms 2012-10-21 13:00:49 -04:00
getopt
glsl automake: Remove empty file variable. 2012-11-12 21:29:34 -08:00
glx mesa: Standardize names of OpenGL functions. 2012-11-12 10:53:57 -08:00
gtest build: Fix gtest out-of-tree build 2012-08-14 10:54:39 -07:00
mapi glapi: Stop handling XML annotation exec="{es,check,loopback}". 2012-11-12 10:53:58 -08:00
mesa mesa: Add .gitignore for hashtable collision unit test. 2012-11-14 11:23:51 -08:00
.gitignore automake: Convert src/Makefile to automake. 2012-06-11 09:28:00 -07:00
Makefile.am automake: Convert src/Makefile to automake. 2012-06-11 09:28:00 -07:00
SConscript Remove libGLU 2012-08-31 10:58:15 -07:00