projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
17dbd41
)
r600g: fix input/output Z export mixup for evergreen.
author
Dave Airlie
<airlied@redhat.com>
Thu, 7 Oct 2010 23:51:09 +0000
(09:51 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Mon, 11 Oct 2010 01:59:53 +0000
(11:59 +1000)
src/gallium/drivers/r600/evergreen_state.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/evergreen_state.c
b/src/gallium/drivers/r600/evergreen_state.c
index 0fd1d3995182695025dd83a5a174487614ace316..81db2e25e8baf5822b32f140a5854a8c4126609c 100644
(file)
--- 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->
in
put[i].name == TGSI_SEMANTIC_POSITION)
+ if (rshader->
out
put[i].name == TGSI_SEMANTIC_POSITION)
r600_pipe_state_add_reg(rstate,
R_02880C_DB_SHADER_CONTROL,
S_02880C_Z_EXPORT_ENABLE(1),