diff options
author | Jerome Glisse <[email protected]> | 2010-09-27 15:13:14 -0400 |
---|---|---|
committer | Jerome Glisse <[email protected]> | 2010-09-27 15:13:14 -0400 |
commit | 5e07483ed9783cd34e3d3dca74f9f1d002f1ce9d (patch) | |
tree | b7a2411a472cc70488d03eae33c07fec6f9f4cad /src/gallium/drivers/r600/evergreen_state.c | |
parent | 1617daaf496573eba70b35a760183b427adeff1b (diff) |
r600g: fix routing btw vertex & pixel shader
Signed-off-by: Jerome Glisse <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/evergreen_state.c')
-rw-r--r-- | src/gallium/drivers/r600/evergreen_state.c | 2 |
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 1553088aa21..71c4a4b9d85 100644 --- a/src/gallium/drivers/r600/evergreen_state.c +++ b/src/gallium/drivers/r600/evergreen_state.c @@ -1513,7 +1513,7 @@ void evergreen_pipe_shader_ps(struct pipe_context *ctx, struct r600_pipe_shader rstate->nregs = 0; for (i = 0; i < rshader->ninput; i++) { - tmp = S_028644_SEMANTIC(i); + tmp = S_028644_SEMANTIC(r600_find_vs_semantic_index2(&rctx->vs_shader->shader, rshader, i)); tmp |= S_028644_SEL_CENTROID(1); if (rshader->input[i].name == TGSI_SEMANTIC_POSITION) have_pos = TRUE; |