radeonsi: Add barrier before writing the tess factors.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Thu, 26 May 2016 12:09:43 +0000 (14:09 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Thu, 26 May 2016 20:07:04 +0000 (22:07 +0200)
commitfd0a7a382f2accea67396584826f5f8e40239ef3
tree6496b7e1c8a28ce4dc2cb7fd3139df9988df7394
parentfee3160af9c8c9594e7d452cf3035b03a8f4153a
radeonsi: Add barrier before writing the tess factors.

The factors may be stored to LDs by another invocation than
the invocation for vertex 0.

Signed-off-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
src/gallium/drivers/radeonsi/si_shader.c