From: Samuel Pitoiset Date: Mon, 18 Feb 2019 12:30:16 +0000 (+0100) Subject: radv: remove unused variable in gather_push_constant_info() X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=32ab7a59bb7d8e3f1edc67eaedb2586fcac8c6b4;p=mesa.git radv: remove unused variable in gather_push_constant_info() Trivial. Signed-off-by: Samuel Pitoiset --- 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;