diff options
author | Bas Nieuwenhuizen <[email protected]> | 2017-07-02 02:48:41 +0200 |
---|---|---|
committer | Bas Nieuwenhuizen <[email protected]> | 2017-08-24 19:20:47 +0200 |
commit | eec5578158c7e6c53c4744c354ae6256f100befc (patch) | |
tree | b3efa5398451ab8290057ee649a02eb4c1b5025a /src/amd/vulkan/radv_private.h | |
parent | 64164a1313fcdf1084b0f8a9499165ee22a13aa7 (diff) |
ac/nir: Make shader key a struct.
Some bits can be passed to almost every shader, and I don't like
adding 5 variables.
Reviewed-by: Dave Airlie <[email protected]>
Diffstat (limited to 'src/amd/vulkan/radv_private.h')
-rw-r--r-- | src/amd/vulkan/radv_private.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/amd/vulkan/radv_private.h b/src/amd/vulkan/radv_private.h index c2a4cfb04bc..b12b05f0453 100644 --- a/src/amd/vulkan/radv_private.h +++ b/src/amd/vulkan/radv_private.h @@ -956,14 +956,14 @@ struct radv_shader_module { char data[0]; }; -union ac_shader_variant_key; +struct ac_shader_variant_key; void radv_hash_shader(unsigned char *hash, struct radv_shader_module *module, const char *entrypoint, const VkSpecializationInfo *spec_info, const struct radv_pipeline_layout *layout, - const union ac_shader_variant_key *key, + const struct ac_shader_variant_key *key, uint32_t is_geom_copy_shader); static inline gl_shader_stage |