freedreno/a6xx: Fix set_sampler_views(start != 0)

Signed-off-by: Rob Clark <robdclark@chromium.org>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/21408>
This commit is contained in:
Rob Clark 2023-02-11 12:36:25 -08:00 committed by Marge Bot
parent a3c73987ab
commit 29445505f6

View file

@ -365,7 +365,7 @@ fd6_set_sampler_views(struct pipe_context *pctx, enum pipe_shader_type shader,
return;
for (unsigned i = 0; i < nr; i++) {
struct fd6_pipe_sampler_view *so = fd6_pipe_sampler_view(views[i]);
struct fd6_pipe_sampler_view *so = fd6_pipe_sampler_view(views[i + start]);
if (!(so && so->needs_validate))
continue;