Module: Mesa
Branch: master
Commit: 0061a905502a0b7e977ab1996f817f7b9f9c34fc
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=0061a905502a0b7e977ab1996f817f7b9f9c34fc

Author: Timothy Arceri <[email protected]>
Date:   Wed Oct 11 15:10:37 2017 +1100

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]>

---

 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 94437e2b30..51fa3f1b31 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);

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to