From 32ab7a59bb7d8e3f1edc67eaedb2586fcac8c6b4 Mon Sep 17 00:00:00 2001 From: Samuel Pitoiset Date: Mon, 18 Feb 2019 13:30:16 +0100 Subject: [PATCH] radv: remove unused variable in gather_push_constant_info() Trivial. Signed-off-by: Samuel Pitoiset --- src/amd/vulkan/radv_shader_info.c | 1 - 1 file changed, 1 deletion(-) diff --git a/src/amd/vulkan/radv_shader_info.c b/src/amd/vulkan/radv_shader_info.c index 7f97da7d209..24b7b4510dd 100644 --- a/src/amd/vulkan/radv_shader_info.c +++ b/src/amd/vulkan/radv_shader_info.c @@ -197,7 +197,6 @@ gather_push_constant_info(const nir_shader *nir, { nir_const_value *cval = nir_src_as_const_value(instr->src[0]); int base = nir_intrinsic_base(instr); - int range = nir_intrinsic_range(instr); if (!cval) { info->has_indirect_push_constants = true; -- 2.30.2