radv: remove duplicate line of code
authorTimothy Arceri <tarceri@itsqueeze.com>
Wed, 11 Oct 2017 04:10:37 +0000 (15:10 +1100)
committerTimothy Arceri <tarceri@itsqueeze.com>
Wed, 11 Oct 2017 21:52:39 +0000 (08:52 +1100)
The same line of code is a few lines above.

Reviewed-by: Bas Nieuwenhuizen <bas@basnieuwenhuizen.nl>
Reviewed-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/vulkan/radv_pipeline_cache.c

index 94437e2b30cf3cfdf8fca4e7655234c9a8f890cc..51fa3f1b31f30a9621afb84e129a58765399eb8f 100644 (file)
@@ -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);