radv: enable lower_sub to fix loop unrolling.
authorDave Airlie <airlied@redhat.com>
Tue, 2 May 2017 22:59:56 +0000 (08:59 +1000)
committerDave Airlie <airlied@redhat.com>
Tue, 2 May 2017 23:03:43 +0000 (09:03 +1000)
commit2a2a21450bb8f552477c468ef91a59e40f881dae
tree43fcb45b7bde93d0c0d3f75b5aac18f5eb5a3850
parent9e847eedd5e71fa102003326a3e04e485884fe24
radv: enable lower_sub to fix loop unrolling.

Loop unroll asserts if it hits a sub, we don't really want
to lower subs as llvm handles these things, but do this for
now, until we can fix loop unroll to work with subs.

Fixes: 14ae0bfa5 (radv: Add NIR loop unrolling)
Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/amd/vulkan/radv_pipeline.c