radv: Add non-uniform indexing lowering.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sun, 7 Apr 2019 21:57:58 +0000 (23:57 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Wed, 10 Apr 2019 00:04:13 +0000 (02:04 +0200)
commit028ce527395642b68612d10c6030be5d4706a65e
tree7e7d8da918ff4e8f3be4575a0ab95f70c8ab4174
parent282bacab4a80e06d1c7f19bf092952599ac9b5f5
radv: Add non-uniform indexing lowering.

This patch does it as late as possible so the potential extra
basic blocks don't inhibit other optimizations.

Big thanks to Jason for writing the lowering pass.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/vulkan/radv_device.c
src/amd/vulkan/radv_pipeline.c