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:
parent
ec0bab8ca9
commit
9789417055
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue