diff options
author | Bas Nieuwenhuizen <[email protected]> | 2018-04-08 10:15:21 +0200 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2018-04-12 22:57:23 +0200 |
commit | 6ff98dbf7c1420edeae519b1596bb9d4cca4b065 (patch) | |
tree | e5a57e0bdd331371140b3cec9f5ab112cabc8ee9 /src/amd/vulkan/radv_shader.h | |
parent | 7eff8d7d3564f67b3165ec4120d9840580d5eb5a (diff) |
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 <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_shader.h')
-rw-r--r-- | src/amd/vulkan/radv_shader.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/amd/vulkan/radv_shader.h b/src/amd/vulkan/radv_shader.h index cbb7394eeae..6588b787724 100644 --- a/src/amd/vulkan/radv_shader.h +++ b/src/amd/vulkan/radv_shader.h @@ -57,6 +57,7 @@ struct radv_shader_module { struct radv_vs_variant_key { uint32_t instance_rate_inputs; + uint32_t instance_rate_divisors[MAX_VERTEX_ATTRIBS]; uint32_t as_es:1; uint32_t as_ls:1; uint32_t export_prim_id:1; |