radv: Implement VK_EXT_vertex_attribute_divisor.
authorBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Sun, 8 Apr 2018 08:15:21 +0000 (10:15 +0200)
committerBas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Thu, 12 Apr 2018 20:57:23 +0000 (22:57 +0200)
commit6ff98dbf7c1420edeae519b1596bb9d4cca4b065
treee5a57e0bdd331371140b3cec9f5ab112cabc8ee9
parent7eff8d7d3564f67b3165ec4120d9840580d5eb5a
radv: Implement VK_EXT_vertex_attribute_divisor.

Pretty straight forward, just pass the divisors through the shader
key and then do a LLVM divide.

Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/vulkan/radv_device.c
src/amd/vulkan/radv_extensions.py
src/amd/vulkan/radv_nir_to_llvm.c
src/amd/vulkan/radv_pipeline.c
src/amd/vulkan/radv_private.h
src/amd/vulkan/radv_shader.h