summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/evergreen_state.c
diff options
context:
space:
mode:
authorAlex Deucher <[email protected]>2010-11-19 15:51:24 -0500
committerAlex Deucher <[email protected]>2010-11-19 15:51:24 -0500
commit04ffbe1ac6a82ac5cce843afa15ffdfa4ef78103 (patch)
tree676077396f299cfdb8276be14ac6f07b7b74ad6c /src/gallium/drivers/r600/evergreen_state.c
parent4afd0683854ac1cfbe7118232b5e344c83d4b0c2 (diff)
r600g: use full range of VS resources for vertex samplers
Now that we have fetch shaders, the full range of VS resources can be used for sampling.
Diffstat (limited to 'src/gallium/drivers/r600/evergreen_state.c')
-rw-r--r--src/gallium/drivers/r600/evergreen_state.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/evergreen_state.c b/src/gallium/drivers/r600/evergreen_state.c
index 669eef4598d..8558e3b559a 100644
--- a/src/gallium/drivers/r600/evergreen_state.c
+++ b/src/gallium/drivers/r600/evergreen_state.c
@@ -431,7 +431,7 @@ static void evergreen_set_vs_sampler_view(struct pipe_context *ctx, unsigned cou
for (int i = 0; i < count; i++) {
if (resource[i]) {
- evergreen_context_pipe_state_set_vs_resource(&rctx->ctx, &resource[i]->state, i + PIPE_MAX_ATTRIBS);
+ evergreen_context_pipe_state_set_vs_resource(&rctx->ctx, &resource[i]->state, i);
}
}
}