From 0061a905502a0b7e977ab1996f817f7b9f9c34fc Mon Sep 17 00:00:00 2001 From: Timothy Arceri Date: Wed, 11 Oct 2017 15:10:37 +1100 Subject: radv: remove duplicate line of code The same line of code is a few lines above. Reviewed-by: Bas Nieuwenhuizen Reviewed-by: Samuel Pitoiset --- src/amd/vulkan/radv_pipeline_cache.c | 1 - 1 file changed, 1 deletion(-) 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); -- cgit v1.2.3