Reviewed-by: Tim Rowley
mailto:timothy.o.row...@intel.com>>
On Jun 15, 2017, at 11:24 AM, Bruce Cherniak
mailto:bruce.chern...@intel.com>> wrote:
The swr driver uses vertex_buffer->stride to determine the number
of elements in a VBO. A recent change to the state-tracker made it
possible for VBO
The swr driver uses vertex_buffer->stride to determine the number
of elements in a VBO. A recent change to the state-tracker made it
possible for VBO's with stride=0. This resulted in a divide by zero
crash in the driver. The solution is to use the pre-calculated vertex
element stream_pitch in this