gallium/ntt: Fix dynamic indirect indexing of per_vertex_input.

It was off by one due to some copy and paste from UBO handling.

Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/8196>
This commit is contained in:
Eric Anholt 2020-12-21 17:12:02 -08:00
parent ec0bab8ca9
commit 9789417055
1 changed files with 1 additions and 1 deletions

View File

@ -980,7 +980,7 @@ ntt_ureg_src_dimension_indirect(struct ntt_compile *c, struct ureg_src usrc,
} else {
return ureg_src_dimension_indirect(usrc,
ntt_reladdr(c, ntt_get_src(c, src)),
1);
0);
}
}