gallium/u_index_modify: don't add PIPE_TRANSFER_UNSYNCHRONIZED unconditionally
authorMarek Olšák <marek.olsak@amd.com>
Fri, 17 Feb 2017 11:55:24 +0000 (12:55 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Sun, 19 Feb 2017 16:16:26 +0000 (17:16 +0100)
commitc8ef5123980f9f538c79e626b0092660a2256ae6
tree491984bef34198d50c76e704df683aa5e75cea6c
parenta264fee6245856340fab9024e1a428626e966335
gallium/u_index_modify: don't add PIPE_TRANSFER_UNSYNCHRONIZED unconditionally

It's OK for r300g (because r300g can't write to buffers via the GPU), but
not later hardware. This issue was spotted randomly.

Cc: mesa-stable@lists.freedesktop.org
Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
src/gallium/auxiliary/util/u_index_modify.c
src/gallium/auxiliary/util/u_index_modify.h
src/gallium/drivers/r300/r300_render_translate.c
src/gallium/drivers/r600/r600_state_common.c
src/gallium/drivers/radeonsi/si_state_draw.c