projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
97eea87
)
r600g: fix Z export enable bits.
author
Dave Airlie
<airlied@redhat.com>
Thu, 7 Oct 2010 05:32:05 +0000
(15:32 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Thu, 7 Oct 2010 05:32:05 +0000
(15:32 +1000)
we should be checking output array not input to decide.
Signed-off-by: Dave Airlie <airlied@redhat.com>
src/gallium/drivers/r600/r600_shader.c
patch
|
blob
|
history
diff --git
a/src/gallium/drivers/r600/r600_shader.c
b/src/gallium/drivers/r600/r600_shader.c
index 1f79c15a2b5657b42d5fcac1d46f3cc8bb1305da..366d5d9c351c39587be2b9efa7b4b9cddd1da343 100644
(file)
--- a/
src/gallium/drivers/r600/r600_shader.c
+++ b/
src/gallium/drivers/r600/r600_shader.c
@@
-132,7
+132,7
@@
static void r600_pipe_shader_ps(struct pipe_context *ctx, struct r600_pipe_shade
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),