radv: remove unused variable in gather_push_constant_info()
authorSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 18 Feb 2019 12:30:16 +0000 (13:30 +0100)
committerSamuel Pitoiset <samuel.pitoiset@gmail.com>
Mon, 18 Feb 2019 12:30:16 +0000 (13:30 +0100)
Trivial.

Signed-off-by: Samuel Pitoiset <samuel.pitoiset@gmail.com>
src/amd/vulkan/radv_shader_info.c

index 7f97da7d209e47600580fd81a20246a5762e962f..24b7b4510dd7c6b4c9388b89f257fc6a761abdbc 100644 (file)
@@ -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;