radeonsi: add a workaround for weird s_buffer_load_dword behavior on SI
authorMarek Olšák <marek.olsak@amd.com>
Sun, 22 Oct 2017 13:54:23 +0000 (15:54 +0200)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 26 Oct 2017 14:44:01 +0000 (16:44 +0200)
commit3f8e3c2bd8f54ae6817f7496be47f4e1a8860d9c
tree9d683fc51116a5e2d53ed6561dc19f6d38af70ad
parent9d8c91eb913c77586a64f85eddf8b44875fad74a
radeonsi: add a workaround for weird s_buffer_load_dword behavior on SI

See my LLVM patch which fixes the root cause.

Users have to apply this patch and then they have 2 choices:
- Downgrade to LLVM 5.0
- Update to LLVM git after my LLVM patch is pushed.

It won't be possible to use current and earlier development version
of LLVM 6.0.

Reviewed-by: Nicolai Hähnle <nicolai.haehnle@amd.com>
Cc: 17.3 <mesa-stable@lists.freedesktop.org>
src/gallium/drivers/radeonsi/si_shader.c