diff options
author | Timothy Arceri <[email protected]> | 2017-10-11 15:10:37 +1100 |
---|---|---|
committer | Timothy Arceri <[email protected]> | 2017-10-12 08:52:39 +1100 |
commit | 0061a905502a0b7e977ab1996f817f7b9f9c34fc (patch) | |
tree | 2bd0d235fd2385aefc77599e3facf298b6cf982e | |
parent | fd24be134ffda15c82d163cf9b7e9da8d65407d4 (diff) |
radv: remove duplicate line of code
The same line of code is a few lines above.
Reviewed-by: Bas Nieuwenhuizen <[email protected]>
Reviewed-by: Samuel Pitoiset <[email protected]>
-rw-r--r-- | src/amd/vulkan/radv_pipeline_cache.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/src/amd/vulkan/radv_pipeline_cache.c b/src/amd/vulkan/radv_pipeline_cache.c index 94437e2b30c..51fa3f1b31f 100644 --- a/src/amd/vulkan/radv_pipeline_cache.c +++ b/src/amd/vulkan/radv_pipeline_cache.c @@ -189,7 +189,6 @@ radv_create_shader_variant_from_pipeline_cache(struct radv_device *device, variant->info = entry->variant_info; variant->rsrc1 = entry->rsrc1; variant->rsrc2 = entry->rsrc2; - variant->code_size = entry->code_size; variant->ref_count = 1; void *ptr = radv_alloc_shader_memory(device, variant); |