summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorDave Airlie <[email protected]>2010-09-22 14:27:58 +1000
committerDave Airlie <[email protected]>2010-09-22 14:27:58 +1000
commit2b1ea90342a8fb912f3a5a40ebcd7c1ec488a4bb (patch)
tree0560f1fec6b0dcf550df0abf0c3e51c505d09089 /src/gallium
parentd18f3accb02646a48c1f1e1e276d5d9f1dc667b3 (diff)
r600g: disable dirty handling on texture from depth code.
nothing was every dirtying the object again, the mesa-demos reflect test was just stalling. this fixes glean readPixSanity.
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/drivers/r600/r600_texture.c9
1 files changed, 1 insertions, 8 deletions
diff --git a/src/gallium/drivers/r600/r600_texture.c b/src/gallium/drivers/r600/r600_texture.c
index 4aabae1fae0..37822903e82 100644
--- a/src/gallium/drivers/r600/r600_texture.c
+++ b/src/gallium/drivers/r600/r600_texture.c
@@ -650,14 +650,7 @@ int r600_texture_from_depth(struct pipe_context *ctx, struct r600_resource_textu
struct r600_screen *rscreen = r600_screen(ctx->screen);
int r;
- if (!rtexture->depth) {
- /* This shouldn't happen maybe print a warning */
- return 0;
- }
- if (rtexture->uncompressed && !rtexture->dirty) {
- /* Uncompressed bo already in good state */
- return 0;
- }
+ /* TODO possible dirty handling */
/* allocate uncompressed texture */
if (rtexture->uncompressed == NULL) {