From: Jerome Glisse Date: Sat, 28 Aug 2010 21:47:13 +0000 (-0400) Subject: r600g: fix depth buffer decompression after states rework X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0bba7796a33d3c47295a9676dc82984da1615fe5;p=mesa.git r600g: fix depth buffer decompression after states rework Signed-off-by: Jerome Glisse --- 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; }