mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-06 11:38:05 +02:00
r600g: Fix VS sampler view offsets for r600/r700.
077c448d18 missed this.
Signed-off-by: Henri Verbeet <hverbeet@gmail.com>
This commit is contained in:
parent
656c314573
commit
7339915a4b
1 changed files with 2 additions and 1 deletions
|
|
@ -501,7 +501,8 @@ static void r600_set_vs_sampler_view(struct pipe_context *ctx, unsigned count,
|
|||
|
||||
for (int i = 0; i < count; i++) {
|
||||
if (resource[i]) {
|
||||
r600_context_pipe_state_set_vs_resource(&rctx->ctx, &resource[i]->state, i);
|
||||
r600_context_pipe_state_set_vs_resource(&rctx->ctx, &resource[i]->state,
|
||||
i + R600_MAX_CONST_BUFFERS);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue