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_pipeline_cache.c | |
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_pipeline_cache.c')
-rw-r--r-- | src/amd/vulkan/radv_pipeline_cache.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_pipeline_cache.c b/src/amd/vulkan/radv_pipeline_cache.c index 3995434d903..99a614dc104 100644 --- a/src/amd/vulkan/radv_pipeline_cache.c +++ b/src/amd/vulkan/radv_pipeline_cache.c @@ -89,7 +89,7 @@ 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) { struct mesa_sha1 ctx; |