diff options
author | Jerome Glisse <[email protected]> | 2010-08-23 15:39:39 -0400 |
---|---|---|
committer | Jerome Glisse <[email protected]> | 2010-08-23 15:42:32 -0400 |
commit | bcf7f66a934ebd9c91da90d6e1f9b169c33c746c (patch) | |
tree | 3b6bf92aad60327e309bf9ca0c480e1858ae746d /src/gallium/drivers/r600/r600_state.c | |
parent | 6355ae2b80a01b1d58824ffeae0c638d917519c0 (diff) |
r600g: export one component per pixel + r7xx uncompression shader
We need to always at least export one component (wether it's depth
or color. Add valid r7xx shader program for depth decompression.
Signed-off-by: Jerome Glisse <[email protected]>
Diffstat (limited to 'src/gallium/drivers/r600/r600_state.c')
-rw-r--r-- | src/gallium/drivers/r600/r600_state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/drivers/r600/r600_state.c b/src/gallium/drivers/r600/r600_state.c index c3ef6267b25..12a61cacdad 100644 --- a/src/gallium/drivers/r600/r600_state.c +++ b/src/gallium/drivers/r600/r600_state.c @@ -775,7 +775,7 @@ static struct radeon_state *r600_db(struct r600_context *rctx) rtex = (struct r600_resource_texture*)state->zsbuf->texture; rtex->tilled = 1; rtex->array_mode = 2; - rtex->tile_type = 0; + rtex->tile_type = 1; rtex->depth = 1; rbuffer = &rtex->resource; |