summaryrefslogtreecommitdiffstats
path: root/src/amd/vulkan
diff options
context:
space:
mode:
authorTimothy Arceri <[email protected]>2017-10-11 15:10:37 +1100
committerTimothy Arceri <[email protected]>2017-10-12 08:52:39 +1100
commit0061a905502a0b7e977ab1996f817f7b9f9c34fc (patch)
tree2bd0d235fd2385aefc77599e3facf298b6cf982e /src/amd/vulkan
parentfd24be134ffda15c82d163cf9b7e9da8d65407d4 (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]>
Diffstat (limited to 'src/amd/vulkan')
-rw-r--r--src/amd/vulkan/radv_pipeline_cache.c1
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);