mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-01-04 04:50:11 +01:00
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.
This commit is contained in:
parent
d18f3accb0
commit
2b1ea90342
1 changed files with 1 additions and 8 deletions
|
|
@ -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) {
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue