radv: enable conditional discard optimisation on radv.
authorDave Airlie <airlied@redhat.com>
Wed, 2 Nov 2016 01:23:11 +0000 (01:23 +0000)
committerDave Airlie <airlied@redhat.com>
Wed, 9 Nov 2016 19:46:49 +0000 (05:46 +1000)
commit3c9af7578fcd62fc55e0443733f56b2aaa50ba9c
treea3245665a3662bccbb3d2909d09b94b5f473b394
parentb16dff2d88302e5113598a818d2f92f8af02cd79
radv: enable conditional discard optimisation on radv.

This fixes a bunch of GPU hangs introduced in some CTS
tests like
dEQP-VK.memory.pipeline_barrier.host_write_uniform_buffer.65536

It works around an issue seen in the LLVM backend, but
also makes the radv code work more like the radeonsi stack.

Cc: "13.0" <mesa-stable@lists.freedesktop.org>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_pipeline.c