summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/svga/SConscript
diff options
context:
space:
mode:
authorBrian Paul <[email protected]>2013-11-13 11:26:15 -0700
committerBrian Paul <[email protected]>2013-11-15 10:23:48 -0700
commit79984b9928d4444665ce617a1e4551e53d415bd4 (patch)
tree0cd60d2e0db97b4a9b0abe47397e1c01bfe77052 /src/gallium/drivers/svga/SConscript
parent491d6397fcbe8eabfdd69500b91dbc6efc4dd894 (diff)
svga: do primitive trimming in translate_indices()
The index translation code expects the number of indexes to be consistent with the primitive type (ex: a multiple of 3 for PIPE_PRIM_TRIANGLES). If it's not, we can write out of bounds in the destination buffer. Fixes failed assertions in the pipebuffer debug code found with Piglit primitive-restart-draw-mode test. Cc: "10.0" <[email protected]> Reviewed-by: José Fonseca <[email protected]>
Diffstat (limited to 'src/gallium/drivers/svga/SConscript')
0 files changed, 0 insertions, 0 deletions