mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-22 04:10:40 +01:00
iris: Fix set_sampler_views with start > 0
This commit is contained in:
parent
1c6fea8e7b
commit
7ad7d0beea
1 changed files with 1 additions and 1 deletions
|
|
@ -1765,7 +1765,7 @@ iris_set_sampler_views(struct pipe_context *ctx,
|
|||
|
||||
for (unsigned i = 0; i < count; i++) {
|
||||
pipe_sampler_view_reference((struct pipe_sampler_view **)
|
||||
&shs->textures[i], views[i]);
|
||||
&shs->textures[start + i], views[i]);
|
||||
struct iris_sampler_view *view = (void *) views[i];
|
||||
if (view)
|
||||
view->res->bind_history |= PIPE_BIND_SAMPLER_VIEW;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue