i965: clip: Add a function to determine whether a vert_result is in use.
authorPaul Berry <stereotype441@gmail.com>
Thu, 25 Aug 2011 20:27:57 +0000 (13:27 -0700)
committerPaul Berry <stereotype441@gmail.com>
Tue, 6 Sep 2011 18:05:25 +0000 (11:05 -0700)
commit54a62f8806df29d79f1e630bae6d1f45fb15c69f
treefe3804fbe0243c915c8f4020c397fae0b633df1e
parent620f06b12600d509406543738ed8bff27715df2c
i965: clip: Add a function to determine whether a vert_result is in use.

Previously we would examine the offset[] array (since an offset of 0
meant "not in use").  This paves the way for removing the offset[]
array.

Reviewed-by: Eric Anholt <eric@anholt.net>
src/mesa/drivers/dri/i965/brw_clip.h
src/mesa/drivers/dri/i965/brw_clip_unfilled.c
src/mesa/drivers/dri/i965/brw_clip_util.c