OSDN Git Service

r600g: fix broken streamout if streamout_begin caused a context flush
authorMarek Olšák <maraeo@gmail.com>
Thu, 22 Nov 2012 23:38:44 +0000 (00:38 +0100)
committerMarek Olšák <maraeo@gmail.com>
Thu, 22 Nov 2012 23:42:02 +0000 (00:42 +0100)
commitcff4c948ed2708a6eb4b090ae87443a707cbd67f
treefe570435be32198c41f8f72e14eeeb2081259098
parentd172fa825b21ce3ff4f5cd83d0de7ef7f3a8d865
r600g: fix broken streamout if streamout_begin caused a context flush

This fixes graphics corruption in the case where the DISCARD_RANGE flag
is used to map a buffer.

NOTE: This is a candidate for the stable branches.
src/gallium/drivers/r600/r600_hw_context.c