r600g: fix depth buffer decompression after states rework
authorJerome Glisse <jglisse@redhat.com>
Sat, 28 Aug 2010 21:47:13 +0000 (17:47 -0400)
committerJerome Glisse <jglisse@redhat.com>
Mon, 30 Aug 2010 19:00:55 +0000 (15:00 -0400)
Signed-off-by: Jerome Glisse <jglisse@redhat.com>
src/gallium/drivers/r600/r600_blit.c

index 6b8487695c94ca8d8ec314481e5e8e27ee931dbb..be1fcf9662332eef981d8cf62f749e9af91929d2 100644 (file)
@@ -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;
        }