diff options
author | Kenneth Graunke <[email protected]> | 2018-12-02 23:15:41 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-21 10:26:10 -0800 |
commit | 7ad7d0beea97eaec0c670865d62e7d7268a3d5bd (patch) | |
tree | 640d59da2e63737ea325a86182dd3a2582f16cbc /src | |
parent | 1c6fea8e7be98fb2778e06721af681e0cdc072cc (diff) |
iris: Fix set_sampler_views with start > 0
Diffstat (limited to 'src')
-rw-r--r-- | src/gallium/drivers/iris/iris_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/iris/iris_state.c b/src/gallium/drivers/iris/iris_state.c index 641af6d2073..7cd3e11a2b9 100644 --- a/src/gallium/drivers/iris/iris_state.c +++ b/src/gallium/drivers/iris/iris_state.c @@ -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; |