summaryrefslogtreecommitdiffstats
path: root/src/gallium/drivers/r600/r600_blit.c
diff options
context:
space:
mode:
authorJerome Glisse <[email protected]>2010-08-28 17:47:13 -0400
committerJerome Glisse <[email protected]>2010-08-30 15:00:55 -0400
commit0bba7796a33d3c47295a9676dc82984da1615fe5 (patch)
tree5fe2ea9fcb42f810ceac49eb54d45945aa296c75 /src/gallium/drivers/r600/r600_blit.c
parent69c30f5d6d429be4f7e211867984dab1a33da79c (diff)
r600g: fix depth buffer decompression after states rework
Signed-off-by: Jerome Glisse <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_blit.c')
-rw-r--r--src/gallium/drivers/r600/r600_blit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_blit.c b/src/gallium/drivers/r600/r600_blit.c
index 6b8487695c9..be1fcf96623 100644
--- a/src/gallium/drivers/r600/r600_blit.c
+++ b/src/gallium/drivers/r600/r600_blit.c
@@ -215,7 +215,7 @@ static int r600_blit_state_vs_resources(struct r600_screen *rscreen, struct r600
}
bstates->vs_resource0 = rstate;
- rstate = radeon_state_shader(rscreen->rw, R600_STATE_RESOURCE, 0, R600_SHADER_VS);
+ rstate = radeon_state_shader(rscreen->rw, R600_STATE_RESOURCE, 1, R600_SHADER_VS);
if (rstate == NULL) {
return -ENOMEM;
}