draw: Prevent out-of-bounds vertex buffer access.
authorJosé Fonseca <jfonseca@vmware.com>
Thu, 31 Mar 2011 13:40:25 +0000 (14:40 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Fri, 1 Apr 2011 19:18:18 +0000 (20:18 +0100)
commit3733da31e8b4405b65e1b6ca3b6599ecc5af5fe7
tree48e13947e294409416ddfa27f0f3458bf8bb54f9
parent4a7f013f9db793dab8dbc9f71646dab49f12ed2f
draw: Prevent out-of-bounds vertex buffer access.

Based on some code and ideas from Keith Whitwell.
src/gallium/auxiliary/Makefile
src/gallium/auxiliary/SConscript
src/gallium/auxiliary/draw/draw_private.h
src/gallium/auxiliary/draw/draw_pt.c
src/gallium/auxiliary/draw/draw_pt_fetch.c
src/gallium/auxiliary/draw/draw_pt_fetch_emit.c
src/gallium/auxiliary/draw/draw_pt_fetch_shade_emit.c
src/gallium/auxiliary/draw/draw_pt_vsplit.c
src/gallium/auxiliary/draw/draw_pt_vsplit_tmp.h
src/gallium/auxiliary/util/u_draw.c [new file with mode: 0644]
src/gallium/auxiliary/util/u_draw.h