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
|
@ -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…
Reference in New Issue