diff options
author | Samuel Pitoiset <[email protected]> | 2019-02-18 13:30:16 +0100 |
---|---|---|
committer | Samuel Pitoiset <[email protected]> | 2019-02-18 13:30:16 +0100 |
commit | 32ab7a59bb7d8e3f1edc67eaedb2586fcac8c6b4 (patch) | |
tree | 009546d061d6dbc490394efb366156decb3a46ee | |
parent | 8c87d029bcf4568f490414f9af0b9e042d304839 (diff) |
radv: remove unused variable in gather_push_constant_info()
Trivial.
Signed-off-by: Samuel Pitoiset <[email protected]>
-rw-r--r-- | src/amd/vulkan/radv_shader_info.c | 1 |
1 files changed, 0 insertions, 1 deletions
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; |