projects
/
mesa.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
88c1b32
)
r600g: evergreen add stencil export bit
author
Dave Airlie
<airlied@redhat.com>
Wed, 13 Oct 2010 07:40:32 +0000
(17:40 +1000)
committer
Dave Airlie
<airlied@redhat.com>
Wed, 13 Oct 2010 07:40:32 +0000
(17:40 +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 49a888abe35f3e88ab5a9e03bea6367c8e9b55ee..379d66f48c6dff906d23a387690e3a1619653418 100644
(file)
--- a/
src/gallium/drivers/r600/evergreen_state.c
+++ b/
src/gallium/drivers/r600/evergreen_state.c
@@
-1558,6
+1558,11
@@
void evergreen_pipe_shader_ps(struct pipe_context *ctx, struct r600_pipe_shader
R_02880C_DB_SHADER_CONTROL,
S_02880C_Z_EXPORT_ENABLE(1),
S_02880C_Z_EXPORT_ENABLE(1), NULL);
+ if (rshader->output[i].name == TGSI_SEMANTIC_STENCIL)
+ r600_pipe_state_add_reg(rstate,
+ R_02880C_DB_SHADER_CONTROL,
+ S_02880C_STENCIL_EXPORT_ENABLE(1),
+ S_02880C_STENCIL_EXPORT_ENABLE(1), NULL);
}
exports_ps = 0;