swr: [rasterizer core] fix dependency bug
authorTim Rowley <timothy.o.rowley@intel.com>
Tue, 14 Jun 2016 23:54:34 +0000 (17:54 -0600)
committerTim Rowley <timothy.o.rowley@intel.com>
Thu, 23 Jun 2016 15:51:11 +0000 (10:51 -0500)
commita16d274032cc1ee264b14de39be1bbb3f923bfb0
tree67098e93c265aa4e6004b456ee0da9839ade92fb
parent73a9154bdef807330ec3d75a79610532e33edb75
swr: [rasterizer core] fix dependency bug

Never be dependent on "draw 0", instead have a bool that makes the draw
dependent on the previous draw or not dependent at all.

Reviewed-by: Bruce Cherniak <bruce.cherniak@intel.com>
src/gallium/drivers/swr/rasterizer/core/api.cpp
src/gallium/drivers/swr/rasterizer/core/context.h
src/gallium/drivers/swr/rasterizer/core/ringbuffer.h
src/gallium/drivers/swr/rasterizer/core/threads.cpp