radeonsi: update clip_regs if clip_disable changes to fix a hang
authorMarek Olšák <marek.olsak@amd.com>
Tue, 3 Jan 2017 10:02:41 +0000 (11:02 +0100)
committerMarek Olšák <marek.olsak@amd.com>
Thu, 5 Jan 2017 13:01:18 +0000 (14:01 +0100)
commit3753dc896dfe98b246ba8b030aab27a9928533af
tree372348fc0176250c0769064526f0db11607e59c7
parentc7affbf6875622a2326dafafaed8c3987aaa3483
radeonsi: update clip_regs if clip_disable changes to fix a hang

This seems to fix the GPU hangs caused by:

commit ed3190b3f3a776fc8c75b1e6130a88079166d115
Author: Marek Olšák <marek.olsak@amd.com>
Date:   Sun Nov 13 18:41:43 2016 +0100

    radeonsi: don't export ClipVertex and ClipDistance[] if clipping is disabled

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=99219

Tested-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/gallium/drivers/radeonsi/si_state_shaders.c