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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user