diff options
author | Dave Airlie <[email protected]> | 2010-10-08 09:51:09 +1000 |
---|---|---|
committer | Dave Airlie <[email protected]> | 2010-10-11 11:59:53 +1000 |
commit | bd89da79a1acc8b896a7f5afc71435befe2ff7e4 (patch) | |
tree | 0ee0610f6b8ffe26fd68a21c02097adde0d6dce7 | |
parent | 17dbd41cf23e7e7de2f27e5e9252d7f792d932f3 (diff) |
r600g: fix input/output Z export mixup for evergreen.
-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 0fd1d399518..81db2e25e8b 100644 --- a/src/gallium/drivers/r600/evergreen_state.c +++ b/src/gallium/drivers/r600/evergreen_state.c @@ -1546,7 +1546,7 @@ void evergreen_pipe_shader_ps(struct pipe_context *ctx, struct r600_pipe_shader r600_pipe_state_add_reg(rstate, R_028644_SPI_PS_INPUT_CNTL_0 + i * 4, tmp, 0xFFFFFFFF, NULL); } for (i = 0; i < rshader->noutput; i++) { - if (rshader->input[i].name == TGSI_SEMANTIC_POSITION) + if (rshader->output[i].name == TGSI_SEMANTIC_POSITION) r600_pipe_state_add_reg(rstate, R_02880C_DB_SHADER_CONTROL, S_02880C_Z_EXPORT_ENABLE(1), |