mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-15 16:00:20 +01:00
nir: remove unused variable
To avoid the following warning:
./src/compiler/nir/nir_loop_analyze.c:807:16: warning: unused variable ‘ns’ [-Wunused-variable]
nir_shader *ns = impl->function->shader;
Reviewed-by: Lionel Landwerlin <lionel.g.landwerlin@intel.com>
This commit is contained in:
parent
e888f28d1f
commit
c7bdcd67aa
1 changed files with 0 additions and 1 deletions
|
|
@ -803,7 +803,6 @@ get_loop_info(loop_info_state *state, nir_function_impl *impl)
|
|||
/* Run through each of the terminators and try to compute a trip-count */
|
||||
find_trip_count(state);
|
||||
|
||||
nir_shader *ns = impl->function->shader;
|
||||
nir_foreach_block_in_cf_node(block, &state->loop->cf_node) {
|
||||
if (force_unroll_heuristics(state, block)) {
|
||||
state->loop->info->force_unroll = true;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue