OSDN Git Service

draw/so: fix overflow calculation
authorZack Rusin <zackr@vmware.com>
Sat, 27 Apr 2013 06:51:26 +0000 (02:51 -0400)
committerZack Rusin <zackr@vmware.com>
Sat, 27 Apr 2013 07:48:36 +0000 (03:48 -0400)
commita6e7c22664c2fe9a5d0dc2088c60047fb40938ed
tree5f7207dc90fb3b0f39676b7fcd8cf92e9a9b56b6
parent220ef8295c3807c55df69af663ae8689597f9a9e
draw/so: fix overflow calculation

only report overflow for missing targets if they're actually being
used. if the targets are missing but are not being used by any
slot in the stream output declaration we should correctly just
ignore them.

Signed-off-by: Zack Rusin <zackr@vmware.com>
Reviewed-by: José Fonseca <jfonseca@vmware.com>
src/gallium/auxiliary/draw/draw_pt_so_emit.c