radv: fix saved compute state when doing statistics/occlusion queries
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 26 Sep 2017 14:52:06 +0000 (16:52 +0200)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Tue, 26 Sep 2017 21:14:48 +0000 (23:14 +0200)
commit4b407a62c757c8344736caa200e706d2bd66fb2c
treedc0f7e35fa96dca8144149a2aa4b7cfd8bf4238d
parent5b7e65136440f60a6afe85c9517f42861ee07224
radv: fix saved compute state when doing statistics/occlusion queries

We are pushing 16-bytes of constants, so we have to save/restore
the same amount of data to avoid data corruption.

Cc: 17.2 <mesa-stable@lists.freedesktop.org>
Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
Reviewed-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_query.c