From 525dd54717c2d4a8807802bcf211622ff07872c0 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Fri, 24 Sep 2021 11:19:58 +0200 Subject: [PATCH] radv: remove unused radv_tcs_variant_key:primitive_mode MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit Signed-off-by: Samuel Pitoiset Reviewed-by: Timur Kristóf Part-of: --- src/amd/vulkan/radv_pipeline.c | 2 -- src/amd/vulkan/radv_shader.h | 1 - 2 files changed, 3 deletions(-) diff --git a/src/amd/vulkan/radv_pipeline.c b/src/amd/vulkan/radv_pipeline.c index e0d3040..ef50a25 100644 --- a/src/amd/vulkan/radv_pipeline.c +++ b/src/amd/vulkan/radv_pipeline.c @@ -2777,8 +2777,6 @@ radv_fill_shader_keys(struct radv_device *device, struct radv_shader_variant_key if (nir[MESA_SHADER_TESS_CTRL]) { keys[MESA_SHADER_VERTEX].vs_common_out.as_ls = true; keys[MESA_SHADER_TESS_CTRL].tcs.input_vertices = key->tess_input_vertices; - keys[MESA_SHADER_TESS_CTRL].tcs.primitive_mode = - nir[MESA_SHADER_TESS_EVAL]->info.tess.primitive_mode; } if (nir[MESA_SHADER_GEOMETRY]) { diff --git a/src/amd/vulkan/radv_shader.h b/src/amd/vulkan/radv_shader.h index f27843e..e1e7cda 100644 --- a/src/amd/vulkan/radv_shader.h +++ b/src/amd/vulkan/radv_shader.h @@ -89,7 +89,6 @@ struct radv_tes_variant_key { struct radv_tcs_variant_key { struct radv_vs_variant_key vs_key; - unsigned primitive_mode; unsigned input_vertices; }; -- 2.7.4